a couple more session related bug fixes
This commit is contained in:
parent
2bd8e502a7
commit
e8d1d6af8f
2 changed files with 2 additions and 2 deletions
|
|
@ -56,7 +56,7 @@ sub execute {
|
|||
# Load the module
|
||||
$cmd = 'use '.$operation->{$op};
|
||||
eval ($cmd);
|
||||
$session->error("Couldn't compile operation: ".$operation->{$op}.". Root cause: ".$@) if ($@);
|
||||
$session->errorHandler->error("Couldn't compile operation: ".$operation->{$op}.". Root cause: ".$@) if ($@);
|
||||
# Call the method
|
||||
$cmd = $operation->{$op} . '::www_'.$op;
|
||||
$output = eval{&$cmd($session)};
|
||||
|
|
|
|||
|
|
@ -106,7 +106,7 @@ sub www_setup {
|
|||
$session->setting->set('companyName',$session->form->text("companyName"));
|
||||
$session->setting->set('companyURL',$session->form->url("companyURL"));
|
||||
$session->setting->set('companyEmail',$session->form->email("companyEmail"));
|
||||
$session->setting->setRedirect($session->url->gateway());
|
||||
$session->http->setRedirect($session->url->gateway());
|
||||
return "";
|
||||
} else {
|
||||
$output .= '<legend align="left">Admin Account</legend>';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue