mirror of
https://github.com/smarty-php/smarty.git
synced 2025-08-06 03:14:27 +02:00
- bugfix on getTemplateVars method
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
05/05/2010
|
||||
- bugfix on {insert} to cache parameter
|
||||
- implementation of $smarty->default_modifiers as in Smarty2
|
||||
- bugfix on getTemplateVars method
|
||||
|
||||
01/05/2010
|
||||
- bugfix on handling of variable method names at object chaning
|
||||
|
@@ -188,7 +188,7 @@ class Smarty_Internal_Data {
|
||||
$_ptr = null;
|
||||
}
|
||||
}
|
||||
if ($search_parents) {
|
||||
if ($search_parents && isset($this->global_tpl_vars)) {
|
||||
foreach ($this->global_tpl_vars AS $key => $var) {
|
||||
$_result[$key] = $var->value;
|
||||
}
|
||||
@@ -440,4 +440,4 @@ class Undefined_Smarty_Variable {
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
||||
?>
|
Reference in New Issue
Block a user