diff --git a/config/dates.php b/config/dates.php index 78ffd199..c5fec3e7 100644 --- a/config/dates.php +++ b/config/dates.php @@ -39,7 +39,7 @@ while($r=mysql_fetch_object($q)) { ?> @@ -54,7 +54,7 @@ $error_ids = array(); $d = mysql_escape_string(stripslashes($val)); $t =mysql_escape_string(stripslashes($_POST['savetimes'][$key])); $v="$d $t"; - mysql_query("UPDATE dates SET date='$v' WHERE year='".$config['FAIRYEAR']."' AND id='$key'"); + mysql_query("UPDATE dates SET date='$v' WHERE year='".$config['FAIRYEAR']."' AND conferences_id='".$conference['id']."' AND id='$key'"); } } echo happy(i18n("Dates successfully saved")); @@ -63,10 +63,10 @@ $error_ids = array(); echo "