Re: [SMARTY] |default=''
| From: | Pupeno | Date: | Tue, 11 Jun 2002 21:46:01 +0000 |
| Subject: | Re: [SMARTY] |default='' | ||
| References: | 1 2 3 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-4794@lists.php.net to get a copy of this message | ||
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Tuesday 11 June 2002 17:26, Pupeno wrote:
> done too, in the line 1143 of Smarty_Compiler.class.php I've changed
> $output = "\$this->_tpl_vars['$var_name']"; for $output =
> "isset(\$this->_tpl_vars['$var_name']) ?
> \$this->_tpl_vars['$var_name'] :
> ''";.
> I've notice that below that, there are more other prints of
> $this->_tpl_vars, when working with arrays, when does this run (so I can
> work with that too) ? Thank you
oh, sorry, the line number was wrong (since I was working with a modified
version), but it should be around there.
- --
Pupeno: pupeno@pupeno.com
http://www.pupeno.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)
iD8DBQE9Bm+cLr8z5XzmSDQRAv+3AKCQdMz6XmF8Twr7pDz1gUw9cvaZegCeK7hI
ruG1HwWlTc11QdqqpEVI/yk=
=8cr1
-----END PGP SIGNATURE-----