cvs: smarty /libs Smarty_Compiler.class.php

[email protected] ("Messju Mohr") Fri, 25 Aug 2006 19:12:16 -0000
Newsgroups php.smarty.cvs
Message-ID <cvsmessju1156533136@cvsserver>
messju		Fri Aug 25 19:12:16 2006 UTC

  Modified files:              
    /smarty/libs	Smarty_Compiler.class.php 
  Log:
  fixed typo
  
http://cvs.php.net/viewvc.cgi/smarty/libs/Smarty_Compiler.class.php?r1=1.383&r2=1.384&diff_format=u
Index: smarty/libs/Smarty_Compiler.class.php
diff -u smarty/libs/Smarty_Compiler.class.php:1.383 smarty/libs/Smarty_Compiler.class.php:1.384
--- smarty/libs/Smarty_Compiler.class.php:1.383	Thu Aug  3 20:03:20 2006
+++ smarty/libs/Smarty_Compiler.class.php	Fri Aug 25 19:12:16 2006
@@ -26,7 +26,7 @@
  * @package Smarty
  */
 
-/* $Id: Smarty_Compiler.class.php,v 1.383 2006/08/03 20:03:20 messju Exp $ */
+/* $Id: Smarty_Compiler.class.php,v 1.384 2006/08/25 19:12:16 messju Exp $ */
 
 /**
  * Template compiling class
@@ -1160,7 +1160,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'])) {