From 5ca2549b14bf2fcf1c9991485a01ae68f422e75d Mon Sep 17 00:00:00 2001 From: quix0r Date: Thu, 25 Dec 2008 20:39:55 +0000 Subject: [PATCH] Fix for the fix... --- inc/databases.php | 2 +- inc/modules/admin/what-list_user.php | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/inc/databases.php b/inc/databases.php index 7faf6d6567..102ac3ed94 100644 --- a/inc/databases.php +++ b/inc/databases.php @@ -115,7 +115,7 @@ define('USAGE_BASE', "usage"); define('SERVER_URL', "http://www.mxchange.org"); // Current SVN revision -define('CURR_SVN_REVISION', "707"); +define('CURR_SVN_REVISION', "708"); // Take a prime number which is long (if you know a longer one please try it out!) define('_PRIME', 591623); diff --git a/inc/modules/admin/what-list_user.php b/inc/modules/admin/what-list_user.php index 9e689ce6c4..95e3d7172b 100644 --- a/inc/modules/admin/what-list_user.php +++ b/inc/modules/admin/what-list_user.php @@ -119,12 +119,12 @@ LIMIT 1", if ($CATS > 0) $CATS = $BASE."&what=list_cats&u_id=".$uid."\">".$CATS."]"; // Calculate timestamp for birthday - $stamp = MAKE_DATETIME(mktime(0, 0, 0, $DATA['birth_month'], $DATA['birth_day'], $DATA['birth_year']), "3"); + $stamp = mktime(0, 0, 0, $DATA['birth_month'], $DATA['birth_day'], $DATA['birth_year']); // Is this above zero? if ($stamp > 0) { // Then use it - define('_BIRTHDAY', $stamp); + define('_BIRTHDAY', MAKE_DATETIME($stamp, "3")); } else { // Zero or below so set zero! define('_BIRTHDAY', MAKE_DATETIME(0, "3")); -- 2.39.5