Fixed a small bug which rendered the page empty without a
authorJoey Schulze <joey@infodrom.org>
Sat, 11 May 2002 08:20:34 +0000 (08:20 +0000)
committerJoey Schulze <joey@infodrom.org>
Sat, 11 May 2002 08:20:34 +0000 (08:20 +0000)
limitation...  well...  thinko...

src/LinuxTag/2002/supporter/availability.wml

index 46a5cd4..a5b6bc5 100644 (file)
@@ -39,7 +39,7 @@
   reset ($ltdays);
   $col = array();
   while (list($key,$day) = each ($ltdays)) {
-    if ($GLOBALS["day_".$key] == 1) {
+    if ($limitation != 1 || $GLOBALS["day_".$key] == 1) {
       $foo = explode (",", $day);
       printf ($f_header_day, $foo[0]);
       $col[] = $key;
@@ -109,6 +109,7 @@ people working on certain tasks.</p>
 <p>Warning: Limiting to sections is not yet implemented.</p>
 
 <form method=get action=availability.php3>
+<input type=hidden name=limitation value=1>
 
 <center><table cellpadding=0 cellspacing=1>