mirror of
https://github.com/TechplexEngineer/opensimWebAssets.git
synced 2026-08-14 09:12:10 +00:00
fix : getkey() empty string returned on failure
This commit is contained in:
@@ -74,9 +74,9 @@ class Config_Engine_Ini extends Config_Engine {
|
||||
*/
|
||||
public function getkey($group, $key) {
|
||||
if (!array_key_exists($group, $this->_config))
|
||||
return (array());
|
||||
return ("");
|
||||
if (!array_key_exists($key, $this->_config[$group]))
|
||||
return (array());
|
||||
return ("");
|
||||
return ($this->_config[$group][$key]);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user