summaryrefslogtreecommitdiff
path: root/pages/account
diff options
context:
space:
mode:
authorINOPIAE <inopiae@cacert.org>2013-02-20 07:05:53 +0100
committerINOPIAE <inopiae@cacert.org>2013-02-20 07:05:53 +0100
commit7a3f0631486082bb73630bcbf6c6aeca72ffcdc8 (patch)
tree7aa61efcc20f69b47c159a1083a38eeed9af69b4 /pages/account
parent8ca984ac01b7450b895e19014f6becf449a255ce (diff)
downloadcacert-devel-7a3f0631486082bb73630bcbf6c6aeca72ffcdc8.tar.gz
cacert-devel-7a3f0631486082bb73630bcbf6c6aeca72ffcdc8.tar.xz
cacert-devel-7a3f0631486082bb73630bcbf6c6aeca72ffcdc8.zip
bug 1008: Fixed typo in sql-query
Diffstat (limited to 'pages/account')
-rw-r--r--pages/account/58.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/pages/account/58.php b/pages/account/58.php
index d7f82c1..9b5234c 100644
--- a/pages/account/58.php
+++ b/pages/account/58.php
@@ -20,7 +20,7 @@ if ($_SESSION['profile']['admin'] != 1 || !array_key_exists('userid',$_REQUEST)
echo _('You do not have access to this page');
} else {
$user_id = intval($_REQUEST['userid']);
- $query = "select `users`.`fname`, `users`.`mname`, `users`.`lname`, from `users` where `id`='$user_id' and `users`.`deleted`=0";
+ $query = "select `users`.`fname`, `users`.`mname`, `users`.`lname` from `users` where `id`='$user_id' and `users`.`deleted`=0";
$res = mysql_query($query);
if(mysql_num_rows($res) != 1){
echo _("I'm sorry, the user you were looking for seems to have disappeared! Bad things are a foot!");