diff options
author | INOPIAE <inopiae@cacert.org> | 2013-01-13 00:08:57 +0100 |
---|---|---|
committer | INOPIAE <inopiae@cacert.org> | 2013-01-13 00:08:57 +0100 |
commit | 2a7c22f64a56e6f8ff3af2ee74d44c8c1f25a7ad (patch) | |
tree | 6dbde692e8b38fa03be78cfa4538440a7c6e970a /pages/account/58.php | |
parent | 0ffa3d350fa88a0f8a421b2c455f0611f3579733 (diff) | |
download | cacert-devel-2a7c22f64a56e6f8ff3af2ee74d44c8c1f25a7ad.tar.gz cacert-devel-2a7c22f64a56e6f8ff3af2ee74d44c8c1f25a7ad.tar.xz cacert-devel-2a7c22f64a56e6f8ff3af2ee74d44c8c1f25a7ad.zip |
bug 1008: Fixed typo and change sorting order in SQL statement
Diffstat (limited to 'pages/account/58.php')
-rw-r--r-- | pages/account/58.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pages/account/58.php b/pages/account/58.php index 83788b5..be229d7 100644 --- a/pages/account/58.php +++ b/pages/account/58.php @@ -30,16 +30,16 @@ if ($_SESSION['profile']['admin'] != 1 || !array_key_exists('userid',$_REQUEST) $query = "select `users`.`fname`, `users`.`mname`, `users`.`lname`, `orginfo`.`o`, `org`.`masteracc` FROM `users`, `orginfo`, `org` WHERE `users`.`id` = `org`.`memid` AND `orginfo`.`id` = `org`.`orgid` - AND `users`.`id`='$user_id' "; + AND `users`.`id`='$user_id' order by `orginfo`.`o`"; $res = mysql_query($query);?> <table align="center" valign="middle" border="0" cellspacing="0" cellpadding="0" class="wrapper"><? if (mysql_num_rows($res) <= 0) {?> <tr> - <td colspan="2" class="title"><?=sprintf(_('%s %s %s is not listed as Organisation Adminstrator'),sanitizeHTML($row['fname']),sanitizeHTML($row['mname']),sanitizeHTML($row['lname']))?></td> + <td colspan="2" class="title"><?=sprintf(_('%s %s %s is not listed as Organisation Administrator'),sanitizeHTML($row['fname']),sanitizeHTML($row['mname']),sanitizeHTML($row['lname']))?></td> </tr> <?}else{?> <tr> - <td colspan="2" class="title"><?=sprintf(_('%s %s %s is listed as Organisation Adminstrator for:'),sanitizeHTML($row['fname']),sanitizeHTML($row['mname']),sanitizeHTML($row['lname']))?></td> + <td colspan="2" class="title"><?=sprintf(_('%s %s %s is listed as Organisation Administrator for:'),sanitizeHTML($row['fname']),sanitizeHTML($row['mname']),sanitizeHTML($row['lname']))?></td> </tr> <tr> <td class="DataTD"><b><?=_('Organisation')?></b></td> |