File eGroupWare-1.2-105-ldap.diff of Package eGroupWare

diff -ruN eGroupWare-orig/phpgwapi/inc/class.auth_ldap.inc.php eGroupWare/phpgwapi/inc/class.auth_ldap.inc.php
--- eGroupWare-orig/phpgwapi/inc/class.auth_ldap.inc.php	2006-07-16 09:23:45.000000000 +0200
+++ eGroupWare/phpgwapi/inc/class.auth_ldap.inc.php	2006-11-12 19:47:05.000000000 +0100
@@ -68,7 +68,7 @@
 
 			if ($GLOBALS['egw_info']['server']['account_repository'] == 'ldap')
 			{
-				$filter = "(&$filter(phpgwaccountstatus=A))";
+				$filter = "(&($filter)(phpgwaccountstatus=A))";
 			}
 
 			$sri = ldap_search($ldap, $GLOBALS['egw_info']['server']['ldap_context'], $filter, $attributes);