From ec98f76a197789c258673bf8f0f142874b1ce0a3 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Tue, 23 Jul 2013 15:09:56 +0000 Subject: [PATCH] fix sql error, if contact_bday is not aliases as bday (works too if it is alias) --- calendar/inc/class.calendar_bo.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/calendar/inc/class.calendar_bo.inc.php b/calendar/inc/class.calendar_bo.inc.php index c87dfd181b..144c9a78de 100644 --- a/calendar/inc/class.calendar_bo.inc.php +++ b/calendar/inc/class.calendar_bo.inc.php @@ -1711,7 +1711,7 @@ class calendar_bo 'bday' => "!''", ); $bdays =& $contacts->search('',array('id','n_family','n_given','n_prefix','n_middle','bday'), - 'bday ASC',$extra_cols='',$wildcard='',$empty=False,$op='AND',$start=false,$filter); + 'contact_bday ASC',$extra_cols='',$wildcard='',$empty=False,$op='AND',$start=false,$filter); // search accounts too, if not stored in contacts repository $extra_accounts_search = $contacts->account_repository == 'ldap' && !is_null($contacts->so_accounts) && !$GLOBALS['egw_info']['user']['preferences']['addressbook']['hide_accounts'];