diff --git a/NEWS b/NEWS index 6ecb14eb..78486ea6 100644 --- a/NEWS +++ b/NEWS @@ -1,3 +1,5 @@ +- fix calling registered objects' methods with an empty argument list + (marcello, messju) - fix html_select_date separator when parts are missing (hayk, monte) - fix broken detection of non-cached blocks introduced in 2.6.17 diff --git a/libs/Smarty_Compiler.class.php b/libs/Smarty_Compiler.class.php index 239b5371..dc25e498 100644 --- a/libs/Smarty_Compiler.class.php +++ b/libs/Smarty_Compiler.class.php @@ -869,7 +869,7 @@ class Smarty_Compiler extends Smarty { // traditional argument format $args = implode(',', array_values($attrs)); if (empty($args)) { - $args = 'null'; + $args = ''; } }