summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 ";