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

View file

@ -1815,7 +1815,7 @@ function($a, $b) { return $a['order'] - $b['order']; }
);
// 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);