Fixes typo in plugin admin redirection URL
This commit is contained in:
parent
2865118ca4
commit
59edea42bb
1 changed files with 1 additions and 1 deletions
|
@ -1815,7 +1815,7 @@ HTML;
|
|||
);
|
||||
|
||||
// TODO: do not handle exceptions/errors in JS.
|
||||
echo '<script>alert("'. $e->getMessage() .'");document.location=\'?do=pluginsadmin\';</script>';
|
||||
echo '<script>alert("'. $e->getMessage() .'");document.location=\'?do='. Router::$PAGE_PLUGINSADMIN .'\';</script>';
|
||||
exit;
|
||||
}
|
||||
header('Location: ?do='. Router::$PAGE_PLUGINSADMIN);
|
||||
|
|
Loading…
Reference in a new issue