summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorINOPIAE <inopiae@cacert.org>2014-01-26 10:46:56 +0100
committerINOPIAE <inopiae@cacert.org>2014-01-26 10:46:56 +0100
commitfbda58b318341dd589f905f4338a7b0fd7ff097b (patch)
treefc1d02cec81d453dde7e771be19ac83cdad07cd7
parentff8d08880cd536b3e153a0224c4167642d81ec76 (diff)
downloadcacert-devel-fbda58b318341dd589f905f4338a7b0fd7ff097b.tar.gz
cacert-devel-fbda58b318341dd589f905f4338a7b0fd7ff097b.tar.xz
cacert-devel-fbda58b318341dd589f905f4338a7b0fd7ff097b.zip
bug 550: changed if condition so it works also with only one part of the name
-rw-r--r--pages/account/18.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/pages/account/18.php b/pages/account/18.php
index 8c74b75..72e61a2 100644
--- a/pages/account/18.php
+++ b/pages/account/18.php
@@ -156,7 +156,7 @@ $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'] = '';
$row['rfname'] = _("Not recorded");