2
0
forked from Wavyzz/dolibarr

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

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']))
{