mirror of
https://github.com/e107inc/e107.git
synced 2025-08-02 12:48:26 +02:00
Bugfix
This commit is contained in:
@@ -1397,7 +1397,7 @@ class e107
|
|||||||
// $type is plugin name
|
// $type is plugin name
|
||||||
default:
|
default:
|
||||||
// data is e.g. 'jslib/myplug.js'
|
// data is e.g. 'jslib/myplug.js'
|
||||||
if(!$this->isInstalled($type)) return;
|
if(!self::isInstalled($type)) return;
|
||||||
if(null !== $zone) $jshandler->requirePluginLib($type, $data, $zone);
|
if(null !== $zone) $jshandler->requirePluginLib($type, $data, $zone);
|
||||||
else $jshandler->requirePluginLib($type, $data);
|
else $jshandler->requirePluginLib($type, $data);
|
||||||
break;
|
break;
|
||||||
@@ -1440,7 +1440,7 @@ class e107
|
|||||||
// $type is plugin name
|
// $type is plugin name
|
||||||
default:
|
default:
|
||||||
// data is e.g. 'css/myplug.css'
|
// data is e.g. 'css/myplug.css'
|
||||||
if($this->isInstalled($type)) $jshandler->pluginCSS($type, $data, $media, $preComment, $postComment);
|
if(self::isInstalled($type)) $jshandler->pluginCSS($type, $data, $media, $preComment, $postComment);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user