Declare undefined $plugins variable
Thanks @Lomanic
This commit is contained in:
parent
3a4721a20c
commit
3f7b0998c6
@ -104,6 +104,7 @@ class PicoDeprecated extends AbstractPicoPlugin
|
|||||||
// enable PicoParsePagesContent and PicoExcerpt
|
// enable PicoParsePagesContent and PicoExcerpt
|
||||||
// we can't enable them during onPluginsLoaded because we can't know
|
// we can't enable them during onPluginsLoaded because we can't know
|
||||||
// if the user disabled us (PicoDeprecated) manually in the config
|
// if the user disabled us (PicoDeprecated) manually in the config
|
||||||
|
$plugins = $this->getPlugins();
|
||||||
if (isset($plugins['PicoParsePagesContent'])) {
|
if (isset($plugins['PicoParsePagesContent'])) {
|
||||||
// parse all pages content if this plugin hasn't
|
// parse all pages content if this plugin hasn't
|
||||||
// be explicitly enabled/disabled yet
|
// be explicitly enabled/disabled yet
|
||||||
|
Loading…
x
Reference in New Issue
Block a user