forked from science-ation/science-ation
Fix bug in install3
This commit is contained in:
parent
d461952fa4
commit
aac1a8461d
@ -131,7 +131,7 @@ if($_POST['action']=="save")
|
||||
}
|
||||
|
||||
//copy over the award_types defautls
|
||||
$q=mysql_query("SELECT * FROM awards_types WHERE year='-1'");
|
||||
$q=mysql_query("SELECT * FROM award_types WHERE year='-1'");
|
||||
while($r=mysql_fetch_object($q))
|
||||
{
|
||||
mysql_query("INSERT INTO award_types (id,type,`order`,year) VALUES ('$r->id','$r->type','$r->order','".$_POST['fairyear']."')");
|
||||
|
Loading…
Reference in New Issue
Block a user