]> git.immae.eu Git - github/shaarli/Shaarli.git/blobdiff - index.php
Bugfix: do not store plugin errors in data.php
[github/shaarli/Shaarli.git] / index.php
index 872acf098e9ec9f0b9e5ba9a4ffa0d980cdb50d5..7bcd0d15377658051835193365df7e1f6d904b8c 100644 (file)
--- a/index.php
+++ b/index.php
@@ -679,8 +679,8 @@ class pageBuilder
             $this->tpl->assign('pagetitle', $GLOBALS['pagetitle']);
         }
         $this->tpl->assign('shaarlititle', empty($GLOBALS['title']) ? 'Shaarli': $GLOBALS['title']);
-        if (!empty($GLOBALS['plugins']['errors'])) {
-            $this->tpl->assign('plugin_errors', $GLOBALS['plugins']['errors']);
+        if (!empty($GLOBALS['plugin_errors'])) {
+            $this->tpl->assign('plugin_errors', $GLOBALS['plugin_errors']);
         }
     }