From 58af12c9cb87ba0deda9448fc1e262bb8d4fd453 Mon Sep 17 00:00:00 2001 From: dave <dave> Date: Sun, 20 Mar 2011 00:09:00 +0000 Subject: [PATCH] Commit from branch2.3, match the categories/divs with the project year to avoid printing categories from previous years. --- admin/registration_receivedforms.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/admin/registration_receivedforms.php b/admin/registration_receivedforms.php index 587d1791..39f44aa7 100644 --- a/admin/registration_receivedforms.php +++ b/admin/registration_receivedforms.php @@ -81,6 +81,10 @@ $showformatbottom=true; projects.projectcategories_id=projectcategories.id AND projects.projectdivisions_id=projectdivisions.id + AND + projectcategories.year=projects.year + AND + projectdivisions.year=projects.year "); echo mysql_Error();