mirror of
https://github.com/smarty-php/smarty.git
synced 2026-05-04 11:44:16 +02:00
- reformat all code for unique style
This commit is contained in:
@@ -36,8 +36,8 @@ class Smarty_Internal_Method_GetConfigVars
|
||||
$var_array = array();
|
||||
while ($_ptr !== null) {
|
||||
if (isset($varname)) {
|
||||
if (isset($_ptr->config_vars[$varname])) {
|
||||
return $_ptr->config_vars[$varname];
|
||||
if (isset($_ptr->config_vars[ $varname ])) {
|
||||
return $_ptr->config_vars[ $varname ];
|
||||
}
|
||||
} else {
|
||||
$var_array = array_merge($_ptr->config_vars, $var_array);
|
||||
|
||||
Reference in New Issue
Block a user