1
0
mirror of https://github.com/e107inc/e107.git synced 2025-03-13 17:09:46 +01:00

Precaution added for old left-over plugin prefs using hooks

This commit is contained in:
Cameron 2018-09-09 19:47:50 -07:00
parent 846a877795
commit 310b7e84e1

View File

@ -1959,7 +1959,11 @@ class e_parse extends e_parser
}
}
$sub_blk = $this->e_hook[$hook]->$hook($sub_blk,$opts['context']);
if(is_object($this->e_hook[$hook])) // precaution for old plugins.
{
$sub_blk = $this->e_hook[$hook]->$hook($sub_blk,$opts['context']);
}
}
}