mirror of
https://github.com/e107inc/e107.git
synced 2025-08-18 20:31:41 +02:00
Code optimization and cleanup.
This commit is contained in:
@@ -410,7 +410,7 @@ class e_plugin
|
||||
e107::getDebug()->log("\$this->_plugdir is empty ".__FILE__." ". __CLASS__ ."::".__METHOD__);
|
||||
}
|
||||
|
||||
return in_array($this->_plugdir, array_keys($this->_installed));
|
||||
return array_key_exists($this->_plugdir, $this->_installed);
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user