From 2796859d226233571dd37701433e74253bd1a904 Mon Sep 17 00:00:00 2001 From: deva Date: Thu, 30 Apr 2009 07:46:24 +0000 Subject: Empty values in tags now result in the tag not being shown. --- utils/modules/members.php | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'utils') 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 .= " \"member\"image."\"/>\n"; $str .= "
Member since: " . $this->startyear . "
\n"; foreach($this->tags as $name => $val) { - $str .= "
\n"; - $str .= "
".$this->tagnames[$name]."
\n"; - $str .= "
".$val."
\n"; - $str .= "
\n"; + if($val != "") { + $str .= "
\n"; + $str .= "
".$this->tagnames[$name]."
\n"; + $str .= "
".$val."
\n"; + $str .= "
\n"; + } } $str .= "\n"; return $str; -- cgit v1.2.3