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

From: Date: Mon, 10 Feb 2003 17:48:47 +0000
Subject: Re: [SMARTY] $smarty.const seems broken in 2.4.1...
References: 1 2  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-7626@lists.php.net to get a copy of this message
patch committed to CVS. On Sun, 2003-02-09 at 13:02, M Mohr wrote: > 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 -- Monte Ohrt <monte@ispi.net>

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