Undefined variable: delayed_loading
| From: | Thomas Schulz | Date: | Wed, 11 Dec 2002 11:35:08 +0000 |
| Subject: | Undefined variable: delayed_loading | ||
| Groups: | php.smarty.dev | ||
| Request: | Send a blank email to php-smarty-dev+get-401@lists.php.net to get a copy of this message | ||
Hello,
when i use {eval var=$tplcode} to eval template code that is defined as
$smarty->assign('tplcode', '{insert name="insert_plugin"
foo="bar"}');
i get the following notice:
Notice: Undefined variable: delayed_loading in
d:\wamp\smarty\Smarty_Compiler.class.php on line 520
I "solve" this by insert:
519: if (!isset($delayed_loading)) $delayed_loading = '';
What is the problem?
Thomas.
--
http://4bconsult.de