From 4b9d67fffed7e5c07a2c112413e0e1e108fdc56b Mon Sep 17 00:00:00 2001 From: dave Date: Thu, 24 Jan 2008 08:59:04 +0000 Subject: [PATCH] - Fix division saving for the case when a committee decides to drop a division and the remaning ones need renumbering. (It was not properly saving the new id) --- config/divisions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/divisions.php b/config/divisions.php index 31dbb36..aee0354 100644 --- a/config/divisions.php +++ b/config/divisions.php @@ -53,7 +53,7 @@ if($_GET['action']=="edit" || $_GET['action']=="new") { "id='".$_POST['id']."', ". "division='".mysql_escape_string(stripslashes($_POST['division']))."', ". "division_shortform='".mysql_escape_string(stripslashes($_POST['division_shortform']))."' ". - "WHERE id='".$_POST['saveid']."'"); + "WHERE id='".$_POST['saveid']."' AND year='{$config['FAIRYEAR']}'"); //###### Feature Specific - filtering divisions by category if($config['filterdivisionbycategory']=="yes"){