cvs: smarty / Smarty.class.php
| From: | Monte Ohrt | Date: | Mon, 15 Jul 2002 15:20:14 +0000 |
| Subject: | cvs: smarty / Smarty.class.php | ||
| Groups: | php.smarty.cvs | ||
| Request: | Send a blank email to php-smarty-cvs+get-191@lists.php.net to get a copy of this message | ||
mohrt Mon Jul 15 11:20:14 2002 EDT
Modified files:
/smarty Smarty.class.php
Log:
fixed problem with insert tags when loading function from script attribute
and caching enabled (Monte)
Index: smarty/Smarty.class.php
diff -u smarty/Smarty.class.php:1.303 smarty/Smarty.class.php:1.304
--- smarty/Smarty.class.php:1.303 Sun Jul 14 12:34:03 2002
+++ smarty/Smarty.class.php Mon Jul 15 11:20:14 2002
@@ -1282,7 +1282,7 @@
$name,
$this->_plugins['insert'][$name][1],
$this->_plugins['insert'][$name][2],
- false);
+ !empty($args['script']) ?
true : false);
}
return $this->_smarty_md5."{insert_cache $arg_string}".$this->_smarty_md5;
} else {