diff --git a/config/variables.php b/config/variables.php index 6dd7697d..46ba8c83 100644 --- a/config/variables.php +++ b/config/variables.php @@ -27,6 +27,17 @@ send_header("Configuration - Variables"); echo "<< ".i18n("Back to Configuration")."
"; + $q=mysql_query("SELECT * FROM config WHERE year='-1'"); + while($r=mysql_fetch_object($q)) + { + mysql_query("INSERT INTO config (var,val,description,year) VALUES ( + '".mysql_escape_string($r->var)."', + '".mysql_escape_string($r->val)."', + '".mysql_escape_string($r->description)."', + '".$config['FAIRYEAR']."')"); + } + + if($_POST['action']=="save") { if($_POST['specialconfig'])