mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-02 19:39:26 +01:00
"fix for bug #802: Duplicate birthday preview on hompage"
This commit is contained in:
parent
c7b304fd55
commit
a9c3d066c5
@ -23,7 +23,7 @@ if ($GLOBALS['egw_info']['user']['apps']['addressbook'] &&
|
||||
|
||||
if (($month_end = date('*-m-*',$contacts->now_su+$days*24*3600)) != $month_start)
|
||||
{
|
||||
if (($bdays2 =& $contacts->search(array('bday' => $month_start),array('id','n_family','n_given','bday'),'n_given,n_family')))
|
||||
if (($bdays2 =& $contacts->search(array('bday' => $month_end),array('id','n_family','n_given','bday'),'n_given,n_family')))
|
||||
{
|
||||
$bdays = !$bdays ? $bdays2 : array_merge($bdays,$bdays2);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user