forked from science-ation/science-ation
Garrrrr, fix syntax error
This commit is contained in:
parent
1dad6505eb
commit
160acc97d0
@ -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 "<nobr>";
|
||||
if($show_date)
|
||||
echo "$r->date ";
|
||||
echo substr($r->starttime,0,-3);
|
||||
echo " - ";
|
||||
echo substr($r->endtime,0,-3);
|
||||
echo " <a onclick=\"return confirmClick('Are you sure you want to remove this timeslot from the team?')\" href=\"judges_teams_timeslots.php?action=delete&delete=$r->id\"><img border=0 src=\"".$config['SFIABDIRECTORY']."/images/16/button_cancel.".$config['icon_extension']."\"></a>";
|
||||
echo "</nobr>";
|
||||
echo "<br />";
|
||||
}
|
||||
if($numslots)
|
||||
|
Loading…
x
Reference in New Issue
Block a user