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:
parent
846a877795
commit
310b7e84e1
@ -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']);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user