summaryrefslogtreecommitdiff
path: root/lib/profilelist.php
diff options
context:
space:
mode:
authorSarven Capadisli <csarven@status.net>2009-11-06 13:32:04 +0100
committerSarven Capadisli <csarven@status.net>2009-11-06 13:32:04 +0100
commit4eea7f55ef9cfb856516f1667b88abfce277878b (patch)
tree51e40b05895868ed76a4e28c1e46b7a6b3e00af9 /lib/profilelist.php
parent6f2aa1394b1331046d525da23f872d9db7a08f0c (diff)
Check if it is empty instead of ''
Diffstat (limited to 'lib/profilelist.php')
-rw-r--r--lib/profilelist.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/profilelist.php b/lib/profilelist.php
index 697713f8f..bbb722701 100644
--- a/lib/profilelist.php
+++ b/lib/profilelist.php
@@ -191,7 +191,7 @@ class ProfileListItem extends Widget
'alt' =>
($this->profile->fullname) ? $this->profile->fullname :
$this->profile->nickname));
- $hasFN = ($this->profile->fullname !== '') ? 'nickname' : 'fn nickname';
+ $hasFN = (!empty($this->profile->fullname)) ? 'nickname' : 'fn nickname';
$this->out->elementStart('span', $hasFN);
$this->out->raw($this->highlight($this->profile->nickname));
$this->out->elementEnd('span');