cvs: smarty /libs Smarty_Compiler.class.php
"Messju Mohr" <[email protected]>
| Newsgroups | gmane.comp.php.cvs.smarty |
|---|---|
| Message-ID | <cvsmessju1073778188@cvsserver> |
messju Sat Jan 10 18:43:08 2004 EDT
Modified files:
/smarty/libs Smarty_Compiler.class.php
Log:
fixed handling of {php}-tags
Index: smarty/libs/Smarty_Compiler.class.php
diff -u smarty/libs/Smarty_Compiler.class.php:1.305 smarty/libs/Smarty_Compiler.class.php:1.306
--- smarty/libs/Smarty_Compiler.class.php:1.305 Thu Jan 8 07:46:27 2004
+++ smarty/libs/Smarty_Compiler.class.php Sat Jan 10 18:43:07 2004
@@ -39,7 +39,7 @@
* @package Smarty
*/
-/* $Id: Smarty_Compiler.class.php,v 1.305 2004/01/08 12:46:27 messju Exp $ */
+/* $Id: Smarty_Compiler.class.php,v 1.306 2004/01/10 23:43:07 messju Exp $ */
/**
* Template compiling class
@@ -546,7 +546,7 @@
$this->_syntax_error("(secure mode) php tags not permitted", E_USER_WARNING, __FILE__, __LINE__);
return;
}
- return '<?php ' . $block[4] .' ?>';
+ return '<?php ' . $block[3] .' ?>';
}
break;
--
Smarty CVS Mailing List (http://cvs.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php