forked from science-ation/science-ation
- 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:
parent
125437dd55
commit
4b9d67fffe
@ -53,7 +53,7 @@ if($_GET['action']=="edit" || $_GET['action']=="new") {
|
|||||||
"id='".$_POST['id']."', ".
|
"id='".$_POST['id']."', ".
|
||||||
"division='".mysql_escape_string(stripslashes($_POST['division']))."', ".
|
"division='".mysql_escape_string(stripslashes($_POST['division']))."', ".
|
||||||
"division_shortform='".mysql_escape_string(stripslashes($_POST['division_shortform']))."' ".
|
"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
|
//###### Feature Specific - filtering divisions by category
|
||||||
if($config['filterdivisionbycategory']=="yes"){
|
if($config['filterdivisionbycategory']=="yes"){
|
||||||
|
Loading…
x
Reference in New Issue
Block a user