修正Input类一处错误

This commit is contained in:
thinkphp
2013-04-10 14:48:29 +08:00
parent 6196fa3d6f
commit fcbd2d0ec6

View File

@@ -79,7 +79,7 @@ class Input {
} }
// 过滤表单中的表达式 // 过滤表单中的表达式
static private filter_exp(&$value){ static private function filter_exp(&$value){
if (in_array(strtolower($value),array('exp','or'))){ if (in_array(strtolower($value),array('exp','or'))){
$value .= ' '; $value .= ' ';
} }