Update modulebuilder.lib.php

This commit is contained in:
Laurent Destailleur 2021-03-02 12:38:17 +01:00 committed by GitHub
parent 35cb48d649
commit ef99b0f98c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -51,7 +51,7 @@ function rebuildObjectClass($destdir, $module, $objectname, $newmask, $readdir =
}
// Check parameters
if (!empty($addfieldentry) && count($addfieldentry) > 0)
if (is_array($addfieldentry) && count($addfieldentry) > 0)
{
if (empty($addfieldentry['name']))
{