mirror of
https://github.com/e107inc/e107.git
synced 2025-03-14 01:19:44 +01:00
Bugfix
This commit is contained in:
parent
951665accd
commit
464814c3c3
@ -29,7 +29,7 @@ if (!defined('e107_INIT')) { exit; }
|
||||
*
|
||||
*
|
||||
*/
|
||||
|
||||
//XXX IMPORTANT: // do not use e107 specific functions in this file - it may break secure_img_handler.
|
||||
class override {
|
||||
|
||||
protected $functions = array();
|
||||
@ -106,7 +106,7 @@ class override {
|
||||
}
|
||||
|
||||
|
||||
$tmp = (varset($this->functions[$override]) && strpos($this->functions[$override],"::")) ? explode("::",$this->functions[$override]) : $this->functions[$override];
|
||||
$tmp = (isset($this->functions[$override]) && strpos($this->functions[$override],"::")) ? explode("::",$this->functions[$override]) : $this->functions[$override];
|
||||
if(is_array($tmp) && class_exists($tmp[0]))
|
||||
{
|
||||
$cl = new $tmp[0];
|
||||
|
Loading…
x
Reference in New Issue
Block a user