diff --git a/core/Convert.php b/core/Convert.php index 610c1cb3f..417ecffb5 100755 --- a/core/Convert.php +++ b/core/Convert.php @@ -107,7 +107,7 @@ class Convert extends Object { return $val; } else { - return addslashes($val); + return DB::getConn()->addslashes($val); } }