SF Bug #3518548 - Missing attributes on some custom forms

This commit is contained in:
Deon George 2012-09-05 22:18:31 +10:00
parent 55fa21af26
commit f1ed59a35e

View File

@ -1342,7 +1342,7 @@ class Template extends xmlTemplate {
continue;
if (! $this->isAttrType($objectclassattr,'may'))
$this->setAttrLDAPtype($sattr->getName(false),'optional');
$this->setAttrLDAPtype($sattr->getName(false),'may');
if (! in_array($objectclassattr,$allattrs))
array_push($allattrs,$objectclassattr);