cvs: smarty /libs Smarty_Compiler.class.php
[email protected] ("Monte Ohrt") Sun, 16 Sep 2007 14:47:53 -0000
| Newsgroups | php.smarty.cvs |
|---|---|
| Message-ID | <cvsmohrt1189954073@cvsserver> |
mohrt Sun Sep 16 14:47:53 2007 UTC
Modified files:
/smarty/libs Smarty_Compiler.class.php
Log:
fix typo
http://cvs.php.net/viewvc.cgi/smarty/libs/Smarty_Compiler.class.php?r1=1.398&r2=1.399&diff_format=u
Index: smarty/libs/Smarty_Compiler.class.php
diff -u smarty/libs/Smarty_Compiler.class.php:1.398 smarty/libs/Smarty_Compiler.class.php:1.399
--- smarty/libs/Smarty_Compiler.class.php:1.398 Wed Aug 1 13:34:39 2007
+++ smarty/libs/Smarty_Compiler.class.php Sun Sep 16 14:47:53 2007
@@ -26,7 +26,7 @@
* @package Smarty
*/
-/* $Id: Smarty_Compiler.class.php,v 1.398 2007/08/01 13:34:39 mohrt Exp $ */
+/* $Id: Smarty_Compiler.class.php,v 1.399 2007/09/16 14:47:53 mohrt Exp $ */
/**
* Template compiling class
@@ -1171,7 +1171,7 @@
}
$item = $this->_dequote($attrs['item']);
if (!preg_match('~^\w+$~', $item)) {
- return $this->_syntax_error("'foreach: 'item' must be a variable name (literal string)", E_USER_ERROR, __FILE__, __LINE__);
+ return $this->_syntax_error("foreach: 'item' must be a variable name (literal string)", E_USER_ERROR, __FILE__, __LINE__);
}
if (isset($attrs['key'])) {