diff options
author | ArthurHoaro <arthur@hoa.ro> | 2016-02-15 20:34:44 +0100 |
---|---|---|
committer | ArthurHoaro <arthur@hoa.ro> | 2016-02-15 20:34:44 +0100 |
commit | 59edea42bbd53af627d2d9eca74f95dc4b43bbd0 (patch) | |
tree | 834ad25d023df28a355d15ba38706fadc56cfb72 | |
parent | 2865118ca44661c7535aaf7b83e3b9222bc1f9a6 (diff) | |
download | Shaarli-59edea42bbd53af627d2d9eca74f95dc4b43bbd0.tar.gz Shaarli-59edea42bbd53af627d2d9eca74f95dc4b43bbd0.tar.zst Shaarli-59edea42bbd53af627d2d9eca74f95dc4b43bbd0.zip |
Fixes typo in plugin admin redirection URL
-rw-r--r-- | index.php | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1815,7 +1815,7 @@ HTML; | |||
1815 | ); | 1815 | ); |
1816 | 1816 | ||
1817 | // TODO: do not handle exceptions/errors in JS. | 1817 | // TODO: do not handle exceptions/errors in JS. |
1818 | echo '<script>alert("'. $e->getMessage() .'");document.location=\'?do=pluginsadmin\';</script>'; | 1818 | echo '<script>alert("'. $e->getMessage() .'");document.location=\'?do='. Router::$PAGE_PLUGINSADMIN .'\';</script>'; |
1819 | exit; | 1819 | exit; |
1820 | } | 1820 | } |
1821 | header('Location: ?do='. Router::$PAGE_PLUGINSADMIN); | 1821 | header('Location: ?do='. Router::$PAGE_PLUGINSADMIN); |