Re: [SMARTY] $smarty.const seems broken in 2.4.1...

From: Date: Sun, 09 Feb 2003 19:02:10 +0000
Subject: Re: [SMARTY] $smarty.const seems broken in 2.4.1...
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-7607@lists.php.net to get a copy of this message
On Sun, Feb 09, 2003 at 06:32:46PM +0200, Ruslan Savchyshyn wrote: > $smarty.const._SOME_CONST seems broken in 2.4.1... > But they work ok in 2.4.0. > > Any comments? yes, the problem is some missing quotes in line 1777 here is a diff to make them work again: 1777c1777 < $compiled_ref = 'defined(' . substr($indexes[0],1) . ') ? ' . substr($indexes[0],1) . ' : null'; --- > $compiled_ref = 'defined(\'' . > substr($indexes[0],1) . '\') ? ' . substr($indexes[0],1) . ' : null'; have fun messju > ------------------------ > Ruslan aka SavaJr

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