X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Fmodules%2Fadmin%2Fwhat-list_user.php;h=95e3d7172b53cc34a0f374fcf2ecb6f77e28eb1a;hp=9e689ce6c4f681b95cf119af98289d26a960bade;hb=aa838f04c6d825f706e3c7e27e3e1aa8bbd9ebb2;hpb=7800e16349a7f1ccd0eccc3197c81fc261740937 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"));