Fix for the fix...
authorRoland Häder <roland@mxchange.org>
Thu, 25 Dec 2008 20:39:55 +0000 (20:39 +0000)
committerRoland Häder <roland@mxchange.org>
Thu, 25 Dec 2008 20:39:55 +0000 (20:39 +0000)
inc/databases.php
inc/modules/admin/what-list_user.php

index 7faf6d6..102ac3e 100644 (file)
@@ -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);
index 9e689ce..95e3d71 100644 (file)
@@ -119,12 +119,12 @@ LIMIT 1",
                if ($CATS > 0) $CATS = $BASE."&amp;what=list_cats&amp;u_id=".$uid."\">".$CATS."</A>]";
 
                // 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"));