mirror of
https://github.com/e107inc/e107.git
synced 2025-08-01 20:30:39 +02:00
Bugfix
This commit is contained in:
@@ -1397,7 +1397,7 @@ class e107
|
||||
// $type is plugin name
|
||||
default:
|
||||
// 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);
|
||||
else $jshandler->requirePluginLib($type, $data);
|
||||
break;
|
||||
@@ -1440,7 +1440,7 @@ class e107
|
||||
// $type is plugin name
|
||||
default:
|
||||
// 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;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user