if ($CATS > 0) $CATS = $BASE."&what=list_cats&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"));