Re: [SMARTY] Possible bug with config files

From: Date: Sat, 03 May 2003 05:16:45 +0000
Subject: Re: [SMARTY] Possible bug with config files
Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-9457@lists.php.net to get a copy of this message
On Sat, 3 May 2003 00:34:27 +0200, messju mohr <messju@lammfellpuschen.de> wrote : > On Wed, Apr 30, 2003 at 11:55:26AM +0200, Eskil Kvalnes wrote: > > Hey, > > > > Could this be a bug? > > {cycle values=$colors} works, but {cycle values=#colors#} give a warning: > > Warning: Smarty error: cycle: missing 'values' parameter in > > /bogus/Smarty/Smarty.class.php on line 1021. > > it works for me. are you sure your config-var is defined properly? > Yes. They're defined like so: colors = #ffffff colors = #ffcc00 (Bogus colors, but the rest is real) > > Now if I entangle #colors# with quotes, I get #colors# printed in clear text > > instead > > of the contents. > > > > Looks like a bug to me. What do you guys make of it? > > > > -- > > Eskil Kvalnes <eskil@uten.net> > > http://www.hypothetic.net/ > > > > > > > > -- > > Smarty General Mailing List (http://smarty.php.net/) > > To unsubscribe, visit: http://www.php.net/unsub.php > > >

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