summaryrefslogtreecommitdiff
path: root/pages/account/41.php
diff options
context:
space:
mode:
authorINOPIAE <inopiae@cacert.org>2013-04-23 22:52:26 +0200
committerINOPIAE <inopiae@cacert.org>2013-04-23 22:52:26 +0200
commitf0318d79dbc69e444fee4c085cdb3ee152318e1c (patch)
tree6265d89b3594c71028df61f5870d0ba05f6c4a2e /pages/account/41.php
parentef6fa684e0c1ac2155036cc2981c65482de92bfc (diff)
downloadcacert-devel-bug-1162.tar.gz
cacert-devel-bug-1162.tar.xz
cacert-devel-bug-1162.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.php2
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>