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 ...@@ -32,7 +32,7 @@ class locality extends department
'plObjectType' => array('locality' => array( 'plObjectType' => array('locality' => array(
'aclCategory' => 'department', 'aclCategory' => 'department',
'name' => _('Locality'), 'name' => _('Locality'),
'filter' => '(&(objectClass=locality)(objectClass=gosaDepartment))', 'filter' => '(&(!(objectClass=dcObject))(objectClass=locality)(objectClass=gosaDepartment))',
'ou' => '', 'ou' => '',
'icon' => 'geticon.php?context=types&icon=locality&size=16', 'icon' => 'geticon.php?context=types&icon=locality&size=16',
'tabClass' => 'deptabs', '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