mirror of
https://github.com/smarty-php/smarty.git
synced 2025-08-03 09:54:27 +02:00
*** empty log message ***
This commit is contained in:
@@ -128,9 +128,9 @@ class Config_File extends PEAR {
|
||||
return $this->_config_data[$file_name]["sections"][$section_name]["vars"][$var_name];
|
||||
} else {
|
||||
if (empty($section_name))
|
||||
return $this->_config_data[$file_name]["vars"];
|
||||
return (array)$this->_config_data[$file_name]["vars"];
|
||||
else
|
||||
return $this->_config_data[$file_name]["sections"][$section_name]["vars"];
|
||||
return (array)$this->_config_data[$file_name]["sections"][$section_name]["vars"];
|
||||
}
|
||||
}
|
||||
|
||||
|
@@ -128,9 +128,9 @@ class Config_File extends PEAR {
|
||||
return $this->_config_data[$file_name]["sections"][$section_name]["vars"][$var_name];
|
||||
} else {
|
||||
if (empty($section_name))
|
||||
return $this->_config_data[$file_name]["vars"];
|
||||
return (array)$this->_config_data[$file_name]["vars"];
|
||||
else
|
||||
return $this->_config_data[$file_name]["sections"][$section_name]["vars"];
|
||||
return (array)$this->_config_data[$file_name]["sections"][$section_name]["vars"];
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user