]> git.immae.eu Git - github/shaarli/Shaarli.git/commitdiff
Fixes typo in plugin admin redirection URL 479/head
authorArthurHoaro <arthur@hoa.ro>
Mon, 15 Feb 2016 19:34:44 +0000 (20:34 +0100)
committerArthurHoaro <arthur@hoa.ro>
Mon, 15 Feb 2016 19:34:44 +0000 (20:34 +0100)
index.php

index 9785c419e477ebc6404259fdd6961216b90cc453..67290f6fe9b68f0f20254e5315949ba6a4a786e0 100644 (file)
--- a/index.php
+++ b/index.php
@@ -1815,7 +1815,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);