# R33327 - /trunk/calendar/inc/class.calendar\_bo.inc.php

**URL:** <https://help.egroupware.org/t/r33327-trunk-calendar-inc-class-calendar-bo-inc-php/43440>\
**Category:** eGW-svn\
**Created:** [December 7, 2010, 11:34am UTC](https://help.egroupware.org/t/r33327-trunk-calendar-inc-class-calendar-bo-inc-php/43440 "2010-12-07T11:34:19Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![leithoff](https://help.egroupware.org/letter_avatar_proxy/v4/letter/l/58956e/32.png) [@leithoff](https://help.egroupware.org/u/leithoff)\
**Post date:** [December 7, 2010, 11:34am UTC](https://help.egroupware.org/t/r33327-trunk-calendar-inc-class-calendar-bo-inc-php/43440/1 "2010-12-07T11:34:19Z")

</div>

Author: leithoff  
New Revision: 33327

URL: [http://www.egroupware.org/viewvc/egroupware?rev=33327&view=rev](http://www.egroupware.org/viewvc/egroupware?rev=33327&view=rev)  
Log:  
fix for postgres

Modified:  
trunk/calendar/inc/class.calendar\_bo.inc.php

# Modified: trunk/calendar/inc/class.calendar\_bo.inc.php URL: [http://www.egroupware.org/viewvc/egroupware/trunk/calendar/inc/class.calendar\_bo.inc.php?rev=33327&r1=33326&r2=33327&view=diff](http://www.egroupware.org/viewvc/egroupware/trunk/calendar/inc/class.calendar_bo.inc.php?rev=33327&r1=33326&r2=33327&view=diff)

— trunk/calendar/inc/class.calendar\_bo.inc.php (original)  
+++ trunk/calendar/inc/class.calendar\_bo.inc.php Tue Dec 7 12:34:18 2010  
@@ -1660,12 +1660,12 @@  
‘bday’ =\> “!’’”,  
);  
$bdays =& $contacts-\>search(’’,array(‘id’,‘n\_family’,‘n\_given’,‘n\_prefix’,‘n\_middle’,‘bday’),

- 

```
  			'contact_bday ASC',$extra_cols='',$wildcard='',$empty=False,$op='AND',$start=false,$filter);

```

- 

```
  			'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'];
  		if ($extra_accounts_search && ($bdays2 =& $contacts->search('',array('id','n_family','n_given','n_prefix','n_middle','bday'),

```

- 

```
  			'contact_bday ASC',$extra_cols='',$wildcard='',$empty=False,$op='AND',$start=false,$filter+array('owner' => 0))))

```

- 

```
  			'bday ASC',$extra_cols='',$wildcard='',$empty=False,$op='AND',$start=false,$filter+array('owner' => 0))))
  		{
  			$bdays = !$bdays ? $bdays2 : array_merge($bdays,$bdays2);
  		}

```

* * *

What happens now with your Lotus Notes apps - do you make another costly  
upgrade, or settle for being marooned without product support? Time to move  
off Lotus Notes and onto the cloud with [Force.com](http://Force.com), apps are easier to build,  
use, and manage than apps on traditional platforms. Sign up for the Lotus  
Notes Migration Kit to learn more. [http://p.sf.net/sfu/salesforce-d2d](http://p.sf.net/sfu/salesforce-d2d)

* * *

eGroupWare-cvs mailing list  
[eGroupWare-cvs@lists.sourceforge.net](mailto:eGroupWare-cvs@lists.sourceforge.net)  
[https://lists.sourceforge.net/lists/listinfo/egroupware-cvs](https://lists.sourceforge.net/lists/listinfo/egroupware-cvs)
