Skip to content

Commit

Permalink
过滤函数一处bug,修正
Browse files Browse the repository at this point in the history
  • Loading branch information
gongwen committed Sep 14, 2015
1 parent 008a09d commit d8c006e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion MinPHP/core/function.php
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ function I($val){
return $val;
}else{
if(is_numeric($val)){
return intval($val);
return $val;
}else if(is_string($val)){
return htmlspecialchars(trim($val),ENT_QUOTES);
}else{
Expand Down

0 comments on commit d8c006e

Please sign in to comment.