summaryrefslogtreecommitdiff
path: root/pages
diff options
context:
space:
mode:
authorINOPIAE <inopiae@cacert.org>2013-05-01 20:48:10 +0200
committerINOPIAE <inopiae@cacert.org>2013-05-01 20:48:10 +0200
commitb1edfc72d61ee8da4b933e9e47557f354dec903e (patch)
tree287dca8a8de2ce9477d50fbfcea40701c7eb455a /pages
parent7a3f0631486082bb73630bcbf6c6aeca72ffcdc8 (diff)
downloadcacert-devel-b1edfc72d61ee8da4b933e9e47557f354dec903e.tar.gz
cacert-devel-b1edfc72d61ee8da4b933e9e47557f354dec903e.tar.xz
cacert-devel-b1edfc72d61ee8da4b933e9e47557f354dec903e.zip
bug 1008: fixed sql-statement
Diffstat (limited to 'pages')
-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 9b5234c..fd035a3 100644
--- a/pages/account/58.php
+++ b/pages/account/58.php
@@ -30,7 +30,7 @@ if ($_SESSION['profile']['admin'] != 1 || !array_key_exists('userid',$_REQUEST)
$query = "select `orginfo`.`o`, `org`.`masteracc`
FROM `orginfo`, `org`
WHERE `orginfo`.`id` = `org`.`orgid`
- AND `users`.`id`='$user_id' order by `orginfo`.`o`";
+ AND `org`.`memid`='$user_id' order by `orginfo`.`o`";
$res1 = mysql_query($query);?>
<table align="center" valign="middle" border="0" cellspacing="0" cellpadding="0" class="wrapper"><?
if (mysql_num_rows($res1) <= 0) {?>