forked from science-ation/science-ation
- Missed a year check
This commit is contained in:
parent
4e2d7d77aa
commit
cf8f539c48
@ -268,7 +268,7 @@ echo "<table><tr><td>";
|
||||
}
|
||||
}
|
||||
|
||||
$q=mysql_query("SELECT * FROM projects WHERE registrations_id='".$_SESSION['registration_id']."'");
|
||||
$q=mysql_query("SELECT * FROM projects WHERE registrations_id='".$_SESSION['registration_id']."' AND year='{$config['FAIRYEAR']}'");
|
||||
$project=mysql_fetch_object($q);
|
||||
$nominatedawards=getSpecialAwardsNominatedForProject($project->id);
|
||||
$num=count($nominatedawards);
|
||||
|
Loading…
Reference in New Issue
Block a user