SF Patch #2990856 - Add parent class attribute

This commit is contained in:
Patrick MONNERAT 2010-11-16 20:55:11 +11:00 committed by Deon George
parent ab0717e0e3
commit 43f31912b6

View File

@ -1517,7 +1517,7 @@ class Template extends xmlTemplate {
foreach ($this->getObjectClasses() as $oc) {
$soc = $server->getSchemaObjectClass($oc);
$attrs = array_merge($attrs,$soc->getMustAttrNames(),$soc->getMayAttrNames());
$attrs = array_merge($attrs,$soc->getMustAttrNames(true),$soc->getMayAttrNames(true));
$attrs = array_unique($attrs);
}