mirror of
https://github.com/e107inc/e107.git
synced 2025-08-20 21:32:09 +02:00
Bugfix
This commit is contained in:
@@ -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 {
|
class override {
|
||||||
|
|
||||||
protected $functions = array();
|
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]))
|
if(is_array($tmp) && class_exists($tmp[0]))
|
||||||
{
|
{
|
||||||
$cl = new $tmp[0];
|
$cl = new $tmp[0];
|
||||||
|
Reference in New Issue
Block a user