diff --git a/change_log.txt b/change_log.txt index 810628f0..170f475a 100644 --- a/change_log.txt +++ b/change_log.txt @@ -1,3 +1,6 @@ +22/09/2010 +- bugfix on default modifier + 18/09/2010 - bugfix untility compileAllConfig() did not create sha1 code for compiled template file names if template_dir was defined with no trailing DS - bugfix on templateExists() for extends resource diff --git a/libs/plugins/modifiercompiler.default.php b/libs/plugins/modifiercompiler.default.php index addd4aa0..7bfda8b0 100644 --- a/libs/plugins/modifiercompiler.default.php +++ b/libs/plugins/modifiercompiler.default.php @@ -25,7 +25,7 @@ function smarty_modifiercompiler_default ($params, $compiler) $params[1] = "''"; } for ($i = 1, $cnt = count($params); $i < $cnt; $i++) { - $output = '(($tmp = ' . $output . ')===null||$tmp===\'\' ? ' . $params[$i] . ' : $tmp)'; + $output = '(($tmp = @' . $output . ')===null||$tmp===\'\' ? ' . $params[$i] . ' : $tmp)'; } return $output; }