From 7a3f0631486082bb73630bcbf6c6aeca72ffcdc8 Mon Sep 17 00:00:00 2001 From: INOPIAE Date: Wed, 20 Feb 2013 07:05:53 +0100 Subject: bug 1008: Fixed typo in sql-query --- pages/account/58.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pages/account') 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!"); -- cgit v1.2.1