From f3e8762f2e307985216627716e552a7613e2af28 Mon Sep 17 00:00:00 2001 From: james Date: Thu, 19 Oct 2006 23:31:28 +0000 Subject: [PATCH] Only check if the cwsf division id is set once per project, not for each student --- admin/cwsfregister.php | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/admin/cwsfregister.php b/admin/cwsfregister.php index f6340ea..49b9fb4 100644 --- a/admin/cwsfregister.php +++ b/admin/cwsfregister.php @@ -285,15 +285,15 @@ function xmlCreateRecurse($d) $error=true; } - if(!$winner['division_id']) - { - echo "
"; - echo error(i18n("Choose a CWSF Division"),"inline"); - $error=true; - - } echo "
"; } + if(!$winner['division_id']) + { + echo "
"; + echo error(i18n("Choose a CWSF Division"),"inline"); + $error=true; + } + echo ""; $t=mysql_query("SELECT * FROM projectdivisions WHERE year='".$config['FAIRYEAR']."' AND id='".$winner['projectdivisions_id']."'");