fixed calling registered objects' methods with an empty argument list.

thanks marcello
This commit is contained in:
messju
2007-05-11 13:45:36 +00:00
parent 70c4c9c7d3
commit 2aae91c920
2 changed files with 3 additions and 1 deletions

2
NEWS
View File

@@ -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

View File

@@ -869,7 +869,7 @@ class Smarty_Compiler extends Smarty {
// traditional argument format
$args = implode(',', array_values($attrs));
if (empty($args)) {
$args = 'null';
$args = '';
}
}