mirror of
https://github.com/e107inc/e107.git
synced 2025-04-20 04:32:01 +02:00
use built-in escape method
This commit is contained in:
parent
6a32ff7d66
commit
8f7fe64b7a
@ -2,7 +2,7 @@
|
||||
/*
|
||||
* e107 website system
|
||||
*
|
||||
* Copyright (C) 2008-2011 e107 Inc (e107.org)
|
||||
* Copyright (C) 2008-2012 e107 Inc (e107.org)
|
||||
* Released under the terms and conditions of the
|
||||
* GNU General Public License (http://www.gnu.org/licenses/gpl.txt)
|
||||
*
|
||||
@ -666,7 +666,7 @@ class e_db_mysql
|
||||
break;
|
||||
|
||||
case 'escape':
|
||||
return "'".mysql_real_escape_string($fieldValue)."'";
|
||||
return "'".$this->escape($fieldValue, false)."'";
|
||||
break;
|
||||
|
||||
case 'array':
|
||||
|
Loading…
x
Reference in New Issue
Block a user