From 464814c3c3b04133310886bcb2e36f21ebe0888a Mon Sep 17 00:00:00 2001 From: CaMer0n Date: Sun, 29 Jul 2012 07:12:16 +0000 Subject: [PATCH] Bugfix --- e107_handlers/override_class.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/e107_handlers/override_class.php b/e107_handlers/override_class.php index 190cd6615..3ab22dafb 100644 --- a/e107_handlers/override_class.php +++ b/e107_handlers/override_class.php @@ -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];