Only print the size of the booth if some has been assigned
authorJoey Schulze <joey@infodrom.org>
Fri, 8 Apr 2005 07:24:40 +0000 (07:24 +0000)
committerJoey Schulze <joey@infodrom.org>
Fri, 8 Apr 2005 07:24:40 +0000 (07:24 +0000)
src/LinuxTag/2005/projects/show.wml

index 84d1d00..ea6f299 100644 (file)
@@ -97,7 +97,7 @@
     if (strlen ($row['boothnr'])) {
       printf ("<strong>Booth Nr.</strong>: %s<br>", $row['boothnr']);
     }
-    if (strlen ($row['boothsize'])) {
+    if (strlen ($row['boothsize']) && $row['boothsize'] > 0) {
       printf ("<strong>Booth Size</strong>: %d<br>", $row['boothsize']);
     }
     printf ("<strong>Computer</strong>: %d<br>", $row['computer']);