Use validCardinal on Id to prevent executing other commands
parent
d6575cdec3
commit
82a9d6d444
|
@ -816,7 +816,7 @@ public static function getStatuses() {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
$cmd = getZmuCommand($cmd.' -m '.$this->{'Id'});
|
$cmd = getZmuCommand($cmd.' -m '.validCardinal($this->{'Id'}));
|
||||||
$output = shell_exec($cmd);
|
$output = shell_exec($cmd);
|
||||||
Debug("Running $cmd output: $output");
|
Debug("Running $cmd output: $output");
|
||||||
return $output;
|
return $output;
|
||||||
|
|
Loading…
Reference in New Issue