From 3f7b0998c627759db78269e69225156c45dc1547 Mon Sep 17 00:00:00 2001 From: Daniel Rudolf Date: Sun, 4 Oct 2015 14:30:19 +0200 Subject: [PATCH] Declare undefined $plugins variable Thanks @Lomanic --- plugins/00-PicoDeprecated.php | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/00-PicoDeprecated.php b/plugins/00-PicoDeprecated.php index 65f09ea..7edf739 100644 --- a/plugins/00-PicoDeprecated.php +++ b/plugins/00-PicoDeprecated.php @@ -104,6 +104,7 @@ class PicoDeprecated extends AbstractPicoPlugin // enable PicoParsePagesContent and PicoExcerpt // we can't enable them during onPluginsLoaded because we can't know // if the user disabled us (PicoDeprecated) manually in the config + $plugins = $this->getPlugins(); if (isset($plugins['PicoParsePagesContent'])) { // parse all pages content if this plugin hasn't // be explicitly enabled/disabled yet