From e4b9a7633d5eb325e2ae3a098417d5e1d5609852 Mon Sep 17 00:00:00 2001 From: ArthurHoaro Date: Sun, 22 Nov 2015 14:45:09 +0100 Subject: Bugfix: do not store plugin errors in data.php Before this, calling writeConfig() would have write error messages in data.php, because it uses 'plugins' array which is used for plugin configuration. Causing the message error appear everytime. --- plugins/wallabag/wallabag.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/wallabag') diff --git a/plugins/wallabag/wallabag.php b/plugins/wallabag/wallabag.php index 024a3d2b..37969c97 100644 --- a/plugins/wallabag/wallabag.php +++ b/plugins/wallabag/wallabag.php @@ -10,7 +10,7 @@ if (is_file(PluginManager::$PLUGINS_PATH . '/wallabag/config.php')) { } if (!isset($GLOBALS['plugins']['WALLABAG_URL'])) { - $GLOBALS['plugins']['errors'][] = 'Wallabag plugin error: '. + $GLOBALS['plugin_errors'][] = 'Wallabag plugin error: '. 'Please define "$GLOBALS[\'plugins\'][\'WALLABAG_URL\']" '. 'in "plugins/wallabag/config.php" or in your Shaarli config.php file.'; } -- cgit v1.2.3