1
0
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:
secretr 2012-03-07 09:17:32 +00:00
parent 6a32ff7d66
commit 8f7fe64b7a

View File

@ -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':