fixed errormessage in _compile_smarty_ref()

This commit is contained in:
messju
2003-03-19 12:51:34 +00:00
parent cde01c0aa2
commit 8c73efec74
2 changed files with 2 additions and 1 deletions

1
NEWS
View File

@@ -1,3 +1,4 @@
- fixed errormessage in _compile_smarty_ref() (messju)
- updated docs for html_image "name" -> "file" (messju) - updated docs for html_image "name" -> "file" (messju)
- fixed bug with html_options-optgroups (Nichlas L<>fdahl, messju) - fixed bug with html_options-optgroups (Nichlas L<>fdahl, messju)
- cleaned up calls to readdir() (messju) - cleaned up calls to readdir() (messju)

View File

@@ -1764,7 +1764,7 @@ class Smarty_Compiler extends Smarty {
break; break;
default: default:
$this->_syntax_error('$smarty.' . $ref . ' is an unknown reference', E_USER_ERROR, __FILE__, __LINE__); $this->_syntax_error('$smarty.' . $_ref . ' is an unknown reference', E_USER_ERROR, __FILE__, __LINE__);
break; break;
} }