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