summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorINOPIAE <inopiae@cacert.org>2014-01-26 10:55:49 +0100
committerINOPIAE <inopiae@cacert.org>2014-01-26 10:55:49 +0100
commit5742f878f6b47785378fa1ff570eea5da1b80bb1 (patch)
tree365e69e8538743ca4b06b8c012486bced150300f
parentfbda58b318341dd589f905f4338a7b0fd7ff097b (diff)
downloadcacert-devel-5742f878f6b47785378fa1ff570eea5da1b80bb1.tar.gz
cacert-devel-5742f878f6b47785378fa1ff570eea5da1b80bb1.tar.xz
cacert-devel-5742f878f6b47785378fa1ff570eea5da1b80bb1.zip
bug 550: add conditions for the output of the acting organisation admin
-rw-r--r--pages/account/18.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/pages/account/18.php b/pages/account/18.php
index 72e61a2..445f25b 100644
--- a/pages/account/18.php
+++ b/pages/account/18.php
@@ -156,9 +156,11 @@ $status = array_key_exists('status',$_SESSION['_config']) ? intval($_SESSION['_c
$verified = _("Revoked");
if($row['revoked'] == 0)
$row['revoke'] = _("Not revoked");
- if(!$row['cfname'] || !$row['clname'] ){
+ if(!$row['cfname'] && !$row['clname']){
$row['cfname'] = _("Not recorded");
$row['clname'] = '';
+ }
+ if($row['revoked'] > 0 && (!$row['rfname'] && !$row['rlname'])){
$row['rfname'] = _("Not recorded");
$row['rlname'] = '';
}