aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorArthur <arthur@hoa.ro>2016-02-15 20:38:31 +0100
committerArthur <arthur@hoa.ro>2016-02-15 20:38:31 +0100
commit6e607ca613b47e17f7516e94adfee930d4f3e1e8 (patch)
treed8921ee0f9f60099216896a73cd6a2dea9a1e842
parent6cbff7e80f272d4a3bbd266b49efcd3607b7e1bd (diff)
parent59edea42bbd53af627d2d9eca74f95dc4b43bbd0 (diff)
downloadShaarli-6e607ca613b47e17f7516e94adfee930d4f3e1e8.tar.gz
Shaarli-6e607ca613b47e17f7516e94adfee930d4f3e1e8.tar.zst
Shaarli-6e607ca613b47e17f7516e94adfee930d4f3e1e8.zip
Merge pull request #479 from ArthurHoaro/pluginsadmin-error-url
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 5de60425..4382bd80 100644
--- a/index.php
+++ b/index.php
@@ -1858,7 +1858,7 @@ HTML;
1858 ); 1858 );
1859 1859
1860 // TODO: do not handle exceptions/errors in JS. 1860 // TODO: do not handle exceptions/errors in JS.
1861 echo '<script>alert("'. $e->getMessage() .'");document.location=\'?do=pluginsadmin\';</script>'; 1861 echo '<script>alert("'. $e->getMessage() .'");document.location=\'?do='. Router::$PAGE_PLUGINSADMIN .'\';</script>';
1862 exit; 1862 exit;
1863 } 1863 }
1864 header('Location: ?do='. Router::$PAGE_PLUGINSADMIN); 1864 header('Location: ?do='. Router::$PAGE_PLUGINSADMIN);