diff --git a/config/rollover.php b/config/rollover.php index 6519c19..1eed2bc 100644 --- a/config/rollover.php +++ b/config/rollover.php @@ -175,7 +175,7 @@ array("type","name","description","system","goal")); echo i18n("Rolling sponsorship levels")."
"; - roll($currentfairyear, $newfairyear, "sponsorship_levels", + roll($currentfairyear, $newfairyear, "sponsorships_levels", array("level","min","max","description")); echo i18n("Rolling sponsorships")."
"; @@ -330,9 +330,9 @@ echo mysql_error(); while($r=mysql_fetch_assoc($q)) { $d = $newfairyear - $currentfairyear; - mysql_query("INSERT INTO judges_timeslots (`year`,`round_id`,`type`,`date`,`starttime`,`endtime`,`round_name`) + mysql_query("INSERT INTO judges_timeslots (`year`,`round_id`,`type`,`date`,`starttime`,`endtime`,`name`) VALUES ('$newfairyear','0','{$r['type']}',DATE_ADD('{$r['date']}', INTERVAL $d YEAR), - '{$r['starttime']}','{$r['endtime']}','{$r['round_name']}')"); + '{$r['starttime']}','{$r['endtime']}','{$r['name']}')"); echo mysql_error(); $round_id = mysql_insert_id(); $qq = mysql_query("SELECT * FROM judges_timeslots WHERE round_id='{$r['id']}'");