From f0318d79dbc69e444fee4c085cdb3ee152318e1c Mon Sep 17 00:00:00 2001 From: INOPIAE Date: Tue, 23 Apr 2013 22:52:26 +0200 Subject: bug 1162: exchanged mysql_escape_string to mysql_real_escape_string --- pages/account/41.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pages/account/41.php') diff --git a/pages/account/41.php b/pages/account/41.php index 4ea9b10..0457d61 100644 --- a/pages/account/41.php +++ b/pages/account/41.php @@ -57,7 +57,7 @@ require_once($_SESSION['_config']['filepath'].'/includes/lib/l10n.php'); $res = mysql_query($query); while($row = mysql_fetch_assoc($res)) { - $lang = mysql_fetch_assoc(mysql_query("select * from `languages` where `locale`='".mysql_escape_string($row['lang'])."'")); + $lang = mysql_fetch_assoc(mysql_query("select * from `languages` where `locale`='".mysql_real_escape_string($row['lang'])."'")); ?> : -- cgit v1.2.1