X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=index.php;h=5a9ab819da54fab7dd2615819abf63be3d31c1bf;hb=919c2b346781591756632ff7a41dae6a40e2ca44;hp=521d2e69a1d862b5fd9b60beee0ec1f1ab564e48;hpb=2f635e1c278d0502a2984de6a3ca1224efc312cd;p=contagged diff --git a/index.php b/index.php index 521d2e6..5a9ab81 100644 --- a/index.php +++ b/index.php @@ -12,6 +12,8 @@ $entrytpl = 'list_entry.tpl'; } + tpl_std(); + // check which fields are needed $fields = get_fields_from_template($entrytpl); @@ -37,7 +39,6 @@ } //prepare templates - tpl_std(); if (empty($_REQUEST['filter'])) $_REQUEST['filter']=''; if (empty($_REQUEST['marker'])) $_REQUEST['marker']=''; if (empty($_REQUEST['search'])) $_REQUEST['search']=''; @@ -112,7 +113,7 @@ if(!empty($marker)){ // Search by tag - $ldapfilter = '(&(objectClass=evolutionPerson)'; + $ldapfilter = '(&( |(objectClass=evolutionPerson)(objectClass=contactPerson) )'; $marker = explode(',',$marker); foreach($marker as $m){ $m = trim($m);