forked from Wavyzz/dolibarr
Update modulebuilder.lib.php
This commit is contained in:
committed by
GitHub
parent
35cb48d649
commit
ef99b0f98c
@@ -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']))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user