diff options
author | Sarven Capadisli <csarven@status.net> | 2009-11-06 13:32:04 +0100 |
---|---|---|
committer | Sarven Capadisli <csarven@status.net> | 2009-11-06 13:32:04 +0100 |
commit | 4eea7f55ef9cfb856516f1667b88abfce277878b (patch) | |
tree | 51e40b05895868ed76a4e28c1e46b7a6b3e00af9 | |
parent | 6f2aa1394b1331046d525da23f872d9db7a08f0c (diff) |
Check if it is empty instead of ''
-rw-r--r-- | lib/profilelist.php | 2 |
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'); |