Fix for birthday check on home page- this time fixes for tomorrow.

This commit is contained in:
skeeter 2001-04-21 02:14:33 +00:00
parent d48689bba8
commit 76a8955574

View File

@ -47,11 +47,8 @@
echo "<tr><td align=\"left\">" . lang("Today is x's birthday!", $tmp) . "</td></tr>\n";
}
$tomorrow = $phpgw->common->show_date(mktime(0,0,0,
$phpgw->common->show_date(time(),"m"),
$phpgw->common->show_date(time(),"d")+1,
$phpgw->common->show_date(time(),"Y")),"n/d" );
//echo $tomorrow."\n";
$tomorrow = $phpgw->common->show_date($now + 86400,'n/d');
// echo $tomorrow."\n";
$bdays = $c->read(0,15,$qfields,$tomorrow,'tid=n','','',$phpgw_info["user"]["account_id"]);