From 96c3b65cd564aacd55abec8380a51765dc2f0e3c Mon Sep 17 00:00:00 2001 From: dave Date: Sat, 20 Mar 2010 06:08:47 +0000 Subject: [PATCH] Start uploaded winners as "open", not "new", so if it's an upload for a winner that needs to login, it won't create a new student for them, the student already exists. --- remote.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/remote.php b/remote.php index ade7b7d..4752a8b 100644 --- a/remote.php +++ b/remote.php @@ -237,7 +237,7 @@ function award_upload_assign(&$fair, &$award, &$prize, &$project, $year, &$respo //actually insert it mysql_query("INSERT INTO registrations (num,email,start,status,schools_id,year) VALUES (". - "'$regnum','$regnum',NOW(),'new',NULL,'$year')"); + "'$regnum','$regnum',NOW(),'open',NULL,'$year')"); $registrations_id = mysql_insert_id(); /* We'll fill in the email address later */