Commit 53316d4f authored by Côme Chilliet's avatar Côme Chilliet
Browse files

Fixes #5423 PHP error when listing dcObject

parent 30ea9536
......@@ -32,7 +32,7 @@ class locality extends department
'plObjectType' => array('locality' => array(
'aclCategory' => 'department',
'name' => _('Locality'),
'filter' => '(&(objectClass=locality)(objectClass=gosaDepartment))',
'filter' => '(&(!(objectClass=dcObject))(objectClass=locality)(objectClass=gosaDepartment))',
'ou' => '',
'icon' => 'geticon.php?context=types&icon=locality&size=16',
'tabClass' => 'deptabs',
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment