- 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)
This commit is contained in:
dave 2008-01-24 08:59:04 +00:00
parent 125437dd55
commit 4b9d67fffe

View File

@ -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"){