diff options
Diffstat (limited to 'utils/modules/members.php')
-rw-r--r-- | utils/modules/members.php | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/utils/modules/members.php b/utils/modules/members.php index 2cd309c..30f86c3 100644 --- a/utils/modules/members.php +++ b/utils/modules/members.php @@ -22,10 +22,12 @@ class Member { $str .= " <img alt=\"member\" class=\"member_image\" src=\"" . $MEMBERS_DIR."/".$this->image."\"/>\n"; $str .= " <div class=\"member_startyear\">Member since: " . $this->startyear . "</div>\n"; foreach($this->tags as $name => $val) { - $str .= " <div class=\"member_tag\"><div class=\"member_tags_".$name."\">\n"; - $str .= " <div class=\"member_tag_name\">".$this->tagnames[$name]."</div>\n"; - $str .= " <div class=\"member_tag_value\">".$val."</div>\n"; - $str .= " </div></div>\n"; + if($val != "") { + $str .= " <div class=\"member_tag\"><div class=\"member_tags_".$name."\">\n"; + $str .= " <div class=\"member_tag_name\">".$this->tagnames[$name]."</div>\n"; + $str .= " <div class=\"member_tag_value\">".$val."</div>\n"; + $str .= " </div></div>\n"; + } } $str .= "</div>\n"; return $str; |