Fix bug in install3

This commit is contained in:
james 2005-12-15 16:04:47 +00:00
parent d461952fa4
commit aac1a8461d

View File

@ -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']."')");