mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-23 07:09:20 +01:00
Fix for birthday check on home page
This commit is contained in:
parent
123912f5d5
commit
d48689bba8
@ -33,12 +33,9 @@
|
|||||||
"n_family" => "n_family",
|
"n_family" => "n_family",
|
||||||
"bday" => "bday"
|
"bday" => "bday"
|
||||||
);
|
);
|
||||||
|
$now = time() - ((60 * 60) * intval($phpgw_info['user']['preferences']['common']['tz_offset']));
|
||||||
$today = $phpgw->common->show_date(mktime(0,0,0,
|
$today = $phpgw->common->show_date($now,'n/d');
|
||||||
$phpgw->common->show_date(time(),"m"),
|
// echo $today."\n";
|
||||||
$phpgw->common->show_date(time(),"d"),
|
|
||||||
$phpgw->common->show_date(time(),"Y")),"n/d" );
|
|
||||||
//echo $today."\n";
|
|
||||||
|
|
||||||
$bdays = $c->read(0,15,$qfields,$today,'tid=n','','',$phpgw_info["user"]["account_id"]);
|
$bdays = $c->read(0,15,$qfields,$today,'tid=n','','',$phpgw_info["user"]["account_id"]);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user