From 07612d2debcc78a93678db0deed050d82df432f1 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Sun, 20 Sep 2009 12:47:38 +0000 Subject: [PATCH] Possible further fix for #128 --- inc/functions.php | 4 +- inc/libs/register_functions.php | 37 ++++++------ inc/modules/admin.php | 2 +- inc/modules/admin/what-admins_add.php | 2 +- inc/modules/admin/what-edit_sponsor.php | 17 +++--- inc/modules/admin/what-edit_user.php | 76 ++++++++++++------------- inc/modules/guest/what-register.php | 20 ++++--- inc/modules/guest/what-sponsor_reg.php | 14 ++--- inc/modules/member/what-mydata.php | 2 +- inc/modules/sponsor/account.php | 30 +++++----- 10 files changed, 104 insertions(+), 100 deletions(-) diff --git a/inc/functions.php b/inc/functions.php index eedc0215f9..f55f513560 100644 --- a/inc/functions.php +++ b/inc/functions.php @@ -1421,7 +1421,7 @@ function createTimeSelections ($timestamp, $prefix = '', $display = '', $align = $OUT .= "
{--_YEARS--}\n"; } - if (ereg("M", $display) || (empty($display))) { + if (ereg('M', $display) || (empty($display))) { $OUT .= "
{--_MONTHS--}\n"; } @@ -1461,7 +1461,7 @@ function createTimeSelections ($timestamp, $prefix = '', $display = '', $align = $OUT .= "\n"; } - if (ereg("M", $display) || (empty($display))) { + if (ereg('M', $display) || (empty($display))) { // Generate month selection $OUT .= "