an absolute slew of changes.
This commit is contained in:
parent
9499e17cfd
commit
e33c7bebc3
22 changed files with 80 additions and 68 deletions
|
|
@ -59,7 +59,7 @@ sub execute {
|
|||
$session->errorHandler->error("Couldn't compile operation: ".$operation->{$op}.". Root cause: ".$@) if ($@);
|
||||
# Call the method
|
||||
$cmd = $operation->{$op} . '::www_'.$op;
|
||||
$output = eval{&$cmd($session)};
|
||||
$output = eval{&{$cmd}($session)};
|
||||
$session->errorHandler->error("Couldn't execute operation : ".$cmd.". Root cause: ".$@) if ($@);
|
||||
} else {
|
||||
$session->errorHandler->security("execute an invalid operation: ".$op);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue