From 160acc97d0dc96110e7245c8660964b738198c30 Mon Sep 17 00:00:00 2001 From: james Date: Fri, 14 Dec 2007 15:25:51 +0000 Subject: [PATCH] Garrrrr, fix syntax error --- admin/judges_teams_timeslots.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/admin/judges_teams_timeslots.php b/admin/judges_teams_timeslots.php index 61901e93..811c6b23 100644 --- a/admin/judges_teams_timeslots.php +++ b/admin/judges_teams_timeslots.php @@ -93,7 +93,7 @@ function checkinvert(what) { //the db handles the uniqueness (to ensure the same timeslot isnt assigned to the same team more than once) //so all we'll do here is just mass insert without regards for whats already there. - if(count($_POST['teams']) && count($_POST['timeslots']) + if(count($_POST['teams']) && count($_POST['timeslots'])) { foreach($_POST['teams'] AS $tm) { @@ -208,12 +208,14 @@ function checkinvert(what) while($r=mysql_fetch_object($q)) { + echo ""; if($show_date) echo "$r->date "; echo substr($r->starttime,0,-3); echo " - "; echo substr($r->endtime,0,-3); echo "  id\">"; + echo ""; echo "
"; } if($numslots)