cvs: smarty / NEWS /libs Smarty_Compiler.class.php

From: Date: Fri, 11 May 2007 13:45:36 +0000
Subject: cvs: smarty / NEWS /libs Smarty_Compiler.class.php
Groups: php.smarty.cvs 
Request: Send a blank email to php-smarty-cvs+get-2239@lists.php.net to get a copy of this message
messju Fri May 11 13:45:36 2007 UTC Modified files: /smarty NEWS /smarty/libs Smarty_Compiler.class.php Log: fixed calling registered objects' methods with an empty argument list. thanks marcello http://cvs.php.net/viewvc.cgi/smarty/NEWS?r1=1.555&r2=1.556&diff_format=u Index: smarty/NEWS diff -u smarty/NEWS:1.555 smarty/NEWS:1.556 --- smarty/NEWS:1.555 Wed Mar 7 22:10:03 2007 +++ smarty/NEWS Fri May 11 13:45:36 2007 @@ -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 http://cvs.php.net/viewvc.cgi/smarty/libs/Smarty_Compiler.class.php?r1=1.396&r2=1.397&diff_format=u Index: smarty/libs/Smarty_Compiler.class.php diff -u smarty/libs/Smarty_Compiler.class.php:1.396 smarty/libs/Smarty_Compiler.class.php:1.397 --- smarty/libs/Smarty_Compiler.class.php:1.396 Thu Mar 8 19:11:22 2007 +++ smarty/libs/Smarty_Compiler.class.php Fri May 11 13:45:36 2007 @@ -26,7 +26,7 @@ * @package Smarty */ -/* $Id: Smarty_Compiler.class.php,v 1.396 2007/03/08 19:11:22 mohrt Exp $ */ +/* $Id: Smarty_Compiler.class.php,v 1.397 2007/05/11 13:45:36 messju Exp $ */ /** * Template compiling class @@ -869,7 +869,7 @@ // traditional argument format $args = implode(',', array_values($attrs)); if (empty($args)) { - $args = 'null'; + $args = ''; } }

« previous php.smarty.cvs (#2239) next »