aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorArthurHoaro <arthur@hoa.ro>2016-02-15 20:34:44 +0100
committerArthurHoaro <arthur@hoa.ro>2016-02-15 20:34:44 +0100
commit59edea42bbd53af627d2d9eca74f95dc4b43bbd0 (patch)
tree834ad25d023df28a355d15ba38706fadc56cfb72
parent2865118ca44661c7535aaf7b83e3b9222bc1f9a6 (diff)
downloadShaarli-59edea42bbd53af627d2d9eca74f95dc4b43bbd0.tar.gz
Shaarli-59edea42bbd53af627d2d9eca74f95dc4b43bbd0.tar.zst
Shaarli-59edea42bbd53af627d2d9eca74f95dc4b43bbd0.zip
Fixes typo in plugin admin redirection URL
-rw-r--r--index.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/index.php b/index.php
index 9785c419..67290f6f 100644
--- a/index.php
+++ b/index.php
@@ -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);