mirror of
https://github.com/smarty-php/smarty.git
synced 2025-08-06 19:34:27 +02:00
- bugfix on default modifier
This commit is contained in:
@@ -1,3 +1,6 @@
|
|||||||
|
22/09/2010
|
||||||
|
- bugfix on default modifier
|
||||||
|
|
||||||
18/09/2010
|
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 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
|
- bugfix on templateExists() for extends resource
|
||||||
|
@@ -25,7 +25,7 @@ function smarty_modifiercompiler_default ($params, $compiler)
|
|||||||
$params[1] = "''";
|
$params[1] = "''";
|
||||||
}
|
}
|
||||||
for ($i = 1, $cnt = count($params); $i < $cnt; $i++) {
|
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;
|
return $output;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user