summaryrefslogtreecommitdiff
path: root/pages/account/18.php
diff options
context:
space:
mode:
authorMichael Tänzer <neo@nhng.de>2011-11-06 16:42:44 +0100
committerMichael Tänzer <neo@nhng.de>2011-11-06 16:42:44 +0100
commit70127203cfc7fd5803b99763645c181102237591 (patch)
treef5814a8ce5029f643f4ceea79f38873f8241d294 /pages/account/18.php
parent531e09ffcda0674ff89321a3736c43149f2f7a32 (diff)
downloadcacert-devel-70127203cfc7fd5803b99763645c181102237591.tar.gz
cacert-devel-70127203cfc7fd5803b99763645c181102237591.tar.xz
cacert-devel-70127203cfc7fd5803b99763645c181102237591.zip
bug 976: Typo and maskingbug-976
`oemail` masks `orgemailcerts` so that won't work anymore Signed-off-by: Michael Tänzer <neo@nhng.de>
Diffstat (limited to 'pages/account/18.php')
-rw-r--r--pages/account/18.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/pages/account/18.php b/pages/account/18.php
index b5ec08e..13dcc30 100644
--- a/pages/account/18.php
+++ b/pages/account/18.php
@@ -35,10 +35,10 @@
UNIX_TIMESTAMP(`oemail`.`expire`) as `expired`,
`oemail`.`expire` as `expires`, `oemail`.`revoked` as `revoke`,
UNIX_TIMESTAMP(`oemail`.`revoked`) as `revoked`,
- `oemail`.`CN`, `oemail`.`serial`, `oeamil`.`id`
+ `oemail`.`CN`, `oemail`.`serial`, `oemail`.`id`
from `orgemailcerts` as `oemail`, `org`
where `org`.`memid`='".intval($_SESSION['profile']['id'])."' and
- `org`.`orgid`=`orgemailcerts`.`orgid` ";
+ `org`.`orgid`=`oemail`.`orgid` ";
if($viewall != 1)
{
$query .= "AND `oemail`.`revoked`=0 AND `oemail`.`renewed`=0 ";