Re: [SMARTY-DEV] Bug in CVS Version

From: Date: Tue, 17 Jun 2003 15:18:34 +0000
Subject: Re: [SMARTY-DEV] Bug in CVS Version
References: 1 2  Groups: php.smarty.dev 
Request: Send a blank email to php-smarty-dev+get-1609@lists.php.net to get a copy of this message
> You need an {/if} ;-) hehe :) > seriously though, it seems to be working ok for me. I guess I just found out what the problem is... I'm getting errors like this: Warning: count() expects at most 2 parameters, 4 given in e:\htdocs\clancms\core\Smarty.class.php on line 1536 Warning: count() expects at most 2 parameters, 7 given in e:\htdocs\clancms\core\Smarty.class.php on line 1536 Warning: count() expects at least 1 parameter, 0 given in e:\htdocs\clancms\core\Smarty.class.php on line 1536 the Arrays each have 4, 7 and 0 values... maybe something is wrong with the "@" ? {if (count($array))} works fine... David

« previous php.smarty.dev (#1609) next »