Fixes typo in plugin admin redirection URL

This commit is contained in:
ArthurHoaro 2016-02-15 20:34:44 +01:00
parent 2865118ca4
commit 59edea42bb
1 changed files with 1 additions and 1 deletions

View File

@ -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);