Merge pull request #479 from ArthurHoaro/pluginsadmin-error-url

Fixes typo in plugin admin redirection URL
This commit is contained in:
Arthur 2016-02-15 20:38:31 +01:00
commit 6e607ca613

View file

@ -1858,7 +1858,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);