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)