From 2024cbf19dde9bc5ddaa8c29b747853fa71839b8 Mon Sep 17 00:00:00 2001 From: quix0r Date: Wed, 4 Mar 2009 20:35:30 +0000 Subject: [PATCH] ->['month_descr'], fix in registration page --- inc/databases.php | 2 +- inc/functions.php | 3 +-- inc/language/de.php | 2 +- inc/modules/guest/what-register.php | 4 ++-- inc/modules/guest/what-stats.php | 2 +- inc/modules/member/what-holiday.php | 4 ++-- 6 files changed, 8 insertions(+), 9 deletions(-) diff --git a/inc/databases.php b/inc/databases.php index 40d8bd35c8..105db9ec14 100644 --- a/inc/databases.php +++ b/inc/databases.php @@ -98,7 +98,7 @@ define('SERVER_URL', "http://www.mxchange.org"); // Current SVN revision //define('CURR_SVN_REVISION', getActualVersion(0)); -define('CURR_SVN_REVISION', "825"); +define('CURR_SVN_REVISION', "826"); define('CURR_SVN_DATE' , getActualVersion(1)); define('CURR_SVN_VERSION' , getActualVersion(2)); diff --git a/inc/functions.php b/inc/functions.php index 58eeca9c43..1465d609d1 100644 --- a/inc/functions.php +++ b/inc/functions.php @@ -1108,7 +1108,6 @@ function array_pk_sort (&$array, $a_sort, $primary_key = 0, $order = -1, $nums = // function ADD_SELECTION ($type, $DEFAULT, $prefix="", $id="0") { - global $MONTH_DESCR; $OUT = ""; if ($type == "yn") { @@ -1133,7 +1132,7 @@ function ADD_SELECTION ($type, $DEFAULT, $prefix="", $id="0") { break; case "month": // Month - foreach ($MONTH_DESCR as $month => $descr) { + foreach ($GLOBALS['month_descr'] as $month => $descr) { $OUT .= "