Re: Re: Re: [SMARTY] hello again :)

From: Date: Mon, 25 Nov 2002 21:42:13 +0000
Subject: Re: Re: Re: [SMARTY] hello again :)
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-6548@lists.php.net to get a copy of this message
On Mon, Nov 25, 2002 at 08:56:20PM +0100, Rasmus Schultz wrote: > if empty($width) { $width = $size[0]; }; > if empty($height) { $height = $size[1]; }; OK I should have looked at this closer, you have a syntax error in your PHP, that will cause the function not found error to smarty. Change these to: if (empty($width)) { $width = $size[0]; } if (empty($height)) { $height = $size[1]; } and it will work. I just tested it. -Scott -- eventus stultorum magister

« previous php.smarty.general (#6548) next »