post 등에 mysql_real_escape_string 적용하는 코드 수정
This commit is contained in:
@ -1885,8 +1885,8 @@ function escape_trim($field)
|
||||
if ($field) {
|
||||
$str = mysql_real_escape_string(@trim($field));
|
||||
|
||||
if(PHP_VERSION < '5.3.0')
|
||||
$str = stripslashes($str);
|
||||
//if(PHP_VERSION < '5.3.0')
|
||||
// $str = stripslashes($str);
|
||||
|
||||
return $str;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user