From b85b3fcb7f3d125966ae7a750791ae625fee6916 Mon Sep 17 00:00:00 2001 From: messju Date: Fri, 21 May 2004 14:11:41 +0000 Subject: [PATCH] fixed typo in error-messages --- libs/Smarty_Compiler.class.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libs/Smarty_Compiler.class.php b/libs/Smarty_Compiler.class.php index 5270b20a..f5b28649 100644 --- a/libs/Smarty_Compiler.class.php +++ b/libs/Smarty_Compiler.class.php @@ -441,7 +441,7 @@ class Smarty_Compiler extends Smarty { case 'else': list($_open_tag) = end($this->_tag_stack); if ($_open_tag != 'if' && $_open_tag != 'elseif') - $this->_syntax_error('unxepected {else}', E_USER_ERROR, __FILE__, __LINE__); + $this->_syntax_error('unexpected {else}', E_USER_ERROR, __FILE__, __LINE__); else $this->_push_tag('else'); return ''; @@ -449,7 +449,7 @@ class Smarty_Compiler extends Smarty { case 'elseif': list($_open_tag) = end($this->_tag_stack); if ($_open_tag != 'if' && $_open_tag != 'elseif') - $this->_syntax_error('unxepected {elseif}', E_USER_ERROR, __FILE__, __LINE__); + $this->_syntax_error('unexpected {elseif}', E_USER_ERROR, __FILE__, __LINE__); if ($_open_tag == 'if') $this->_push_tag('elseif'); return $this->_compile_if_tag($tag_args, true);