Merge pull request #16531 from FHenry/12.0
avoid warning into modulebuilder
This commit is contained in:
commit
eda0b4dc37
@ -51,7 +51,7 @@ function rebuildObjectClass($destdir, $module, $objectname, $newmask, $readdir =
|
||||
}
|
||||
|
||||
// Check parameters
|
||||
if (count($addfieldentry) > 0)
|
||||
if (is_array($addfieldentry) && count($addfieldentry) > 0)
|
||||
{
|
||||
if (empty($addfieldentry['name']))
|
||||
{
|
||||
|
||||
Loading…
Reference in New Issue
Block a user