plugin parameter malfuncion?
| From: | No Span | Date: | Sat, 09 Nov 2002 19:53:52 +0000 |
| Subject: | plugin parameter malfuncion? | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-6381@lists.php.net to get a copy of this message | ||
I run if (is_set($params['doLink'])) in a plugin function
and I write:
- <{pluginfunc doLink=$pic[url]}>
in the template and ($pic['url']) is empty the is_set() returns false. As
it is listed in the parameters I would expect it to be set, but empty.
- <{pluginfunc doLink=$pic[url].""}>
makes the result I have expected
- <{pluginfunc doLink="".$pic[url]}>
this causes parse error
Anybody met the same problem?
Greetings,
Duda