Use validCardinal on Id to prevent executing other commands

pull/3669/merge
Isaac Connor 2023-02-20 11:41:41 -05:00
parent d6575cdec3
commit 82a9d6d444
1 changed files with 1 additions and 1 deletions

View File

@ -816,7 +816,7 @@ public static function getStatuses() {
return false;
}
$cmd = getZmuCommand($cmd.' -m '.$this->{'Id'});
$cmd = getZmuCommand($cmd.' -m '.validCardinal($this->{'Id'}));
$output = shell_exec($cmd);
Debug("Running $cmd output: $output");
return $output;