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