diff options
author | INOPIAE <inopiae@cacert.org> | 2013-04-23 22:52:26 +0200 |
---|---|---|
committer | INOPIAE <inopiae@cacert.org> | 2013-04-23 22:52:26 +0200 |
commit | f0318d79dbc69e444fee4c085cdb3ee152318e1c (patch) | |
tree | 6265d89b3594c71028df61f5870d0ba05f6c4a2e /pages/account/41.php | |
parent | ef6fa684e0c1ac2155036cc2981c65482de92bfc (diff) | |
download | cacert-devel-f0318d79dbc69e444fee4c085cdb3ee152318e1c.tar.gz cacert-devel-f0318d79dbc69e444fee4c085cdb3ee152318e1c.tar.xz cacert-devel-f0318d79dbc69e444fee4c085cdb3ee152318e1c.zip |
bug 1162: exchanged mysql_escape_string to mysql_real_escape_stringbug-1162
Diffstat (limited to 'pages/account/41.php')
-rw-r--r-- | pages/account/41.php | 2 |
1 files changed, 1 insertions, 1 deletions
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'])."'")); ?> <tr> <td class="DataTD"><?=_("Additional Language")?>:</td> |