fixed $smarty.get-reference

This commit is contained in:
messju
2003-06-24 09:39:37 +00:00
parent d52cb387c7
commit 4e81cc42d8

View File

@@ -1842,6 +1842,7 @@ class Smarty_Compiler extends Smarty {
case 'get':
$compiled_ref = ($this->request_use_auto_globals) ? '$_GET' : "\$GLOBALS['HTTP_GET_VARS']";
break;
case 'post':
$compiled_ref = ($this->request_use_auto_globals) ? '$_POST' : "\$GLOBALS['HTTP_POST_VARS']";