diff --git a/admin/judges_teams_projects.php b/admin/judges_teams_projects.php index 8815211..9e4d0ff 100644 --- a/admin/judges_teams_projects.php +++ b/admin/judges_teams_projects.php @@ -177,7 +177,7 @@ if( ($action=="edit" || $action=="assign" ) && $edit) else $ch=""; - echo " ".i18n("Only show projects eligible for awards assigned to this team"); + echo " ".i18n("Only show projects eligible/nominated for awards assigned to this team"); echo ""; echo ""; @@ -237,7 +237,8 @@ if( ($action=="edit" || $action=="assign" ) && $edit) $pq=mysql_query($querystr); echo mysql_error(); - $eligibleprojects=getProjectsEligibleForAwards($award_ids); + $eligibleprojects=getProjectsEligibleOrNominatedForAwards($award_ids); +// echo nl2br(print_r($eligibleprojects,true)); //the keys are the project numbers, so lets get an array of those too so we can use in_array below $eligibleprojectsnumbers=array_keys($eligibleprojects); // echo nl2br(print_r($eligibleprojects,true));