mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-12-15 05:51:28 +01:00
Update modulebuilder.lib.php
This commit is contained in:
committed by
GitHub
parent
b45aeda14d
commit
89eb19bafb
@@ -128,7 +128,7 @@ function rebuildObjectClass($destdir, $module, $objectname, $newmask, $readdir =
|
||||
if (!empty($val['noteditable'])) {
|
||||
$texttoinsert .= " 'noteditable'=>'".$val['noteditable']."',";
|
||||
}
|
||||
if (!empty($val['default']) || (!empty($val['default']) && $val['default'] === '0')) {
|
||||
if (!empty($val['default']) || (isset($val['default']) && $val['default'] === '0')) {
|
||||
$texttoinsert .= " 'default'=>'".$val['default']."',";
|
||||
}
|
||||
if (!empty($val['index'])) {
|
||||
|
||||
Reference in New Issue
Block a user