From ffa6b9a50a8f619ed98db0cfdac8d2aeb948fb97 Mon Sep 17 00:00:00 2001 From: dsb Date: Sun, 7 Jun 2015 13:19:02 +0200 Subject: [PATCH] Replaced deprecated mysql_escape_string() with mysql_real_escape_string. --- inc/functions_dump.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/functions_dump.php b/inc/functions_dump.php index 2f29198..8c2b233 100644 --- a/inc/functions_dump.php +++ b/inc/functions_dump.php @@ -185,7 +185,7 @@ function get_content($db,$table) { if (!isset($row[$j])) $insert.='NULL,'; else - if ($row[$j]!='') $insert.='\''.mysql_escape_string($row[$j]).'\','; + if ($row[$j]!='') $insert.='\''.mysql_real_escape_string($row[$j]).'\','; else $insert.='\'\','; }