Insert and error
| From: | Nino Katic | Date: | Thu, 06 Feb 2003 17:52:13 +0000 |
| Subject: | Insert and error | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-7557@lists.php.net to get a copy of this message | ||
Hi,
I have made insert function look like this
insert.prepare.php
function smarty_insert_prepare($params)
{
bla bla
....
return $smarty->fetch($params['template']);
}
and i get an error: Fatal error: Call to undefined function: () in
c:\Projekti\Smarty\Smarty.class.php on line 1039
in my template i have:
{insert name="prepare" template=" - complete path to other template - "}
I have tried looking at 1039 but didn't success to get what's wrong. I'm
using Smarty 2.3.0.
Can somebody tell me what's wrong, Monte?
Nino