mirror of
https://github.com/e107inc/e107.git
synced 2025-08-06 14:46:56 +02:00
Precaution added for old left-over plugin prefs using hooks
This commit is contained in:
@@ -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']);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user