X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=plugins%2Fwallabag%2Fwallabag.php;h=0d6fc66de5fdf5df269455a0365c18f3fabcd557;hb=07c2f73543b358d39b3751c8542966794f28db03;hp=e3c399a9ab5d85a124db5f99a1f0a135f8fbbbc8;hpb=938d9cce77ed5098dd69643795cb4014f3688b35;p=github%2Fshaarli%2FShaarli.git diff --git a/plugins/wallabag/wallabag.php b/plugins/wallabag/wallabag.php index e3c399a9..0d6fc66d 100644 --- a/plugins/wallabag/wallabag.php +++ b/plugins/wallabag/wallabag.php @@ -11,7 +11,7 @@ if (is_file(PluginManager::$PLUGINS_PATH . '/wallabag/config.php')) { include PluginManager::$PLUGINS_PATH . '/wallabag/config.php'; } -if (!isset($GLOBALS['plugins']['WALLABAG_URL'])) { +if (empty($GLOBALS['plugins']['WALLABAG_URL'])) { $GLOBALS['plugin_errors'][] = 'Wallabag plugin error: '. 'Please define "$GLOBALS[\'plugins\'][\'WALLABAG_URL\']" '. 'in "plugins/wallabag/config.php" or in your Shaarli config.php file.';