diff --git a/addressbook/inc/hook_home.inc.php b/addressbook/inc/hook_home.inc.php index 8edbb75def..0046377476 100644 --- a/addressbook/inc/hook_home.inc.php +++ b/addressbook/inc/hook_home.inc.php @@ -47,11 +47,8 @@ echo "" . lang("Today is x's birthday!", $tmp) . "\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"]);