Declare undefined $plugins variable

Thanks @Lomanic
pico-3.0-alpha
Daniel Rudolf 10 years ago
parent 3a4721a20c
commit 3f7b0998c6
  1. 1
      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

Loading…
Cancel
Save