mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-12-07 18:18:18 +01:00
Warning in php 8
This commit is contained in:
@@ -123,7 +123,7 @@ function rebuildObjectClass($destdir, $module, $objectname, $newmask, $readdir =
|
|||||||
$i++;
|
$i++;
|
||||||
$texttoinsert .= "\t\t'".$key."' => array('type'=>'".$val['type']."',";
|
$texttoinsert .= "\t\t'".$key."' => array('type'=>'".$val['type']."',";
|
||||||
$texttoinsert .= " 'label'=>'".$val['label']."',";
|
$texttoinsert .= " 'label'=>'".$val['label']."',";
|
||||||
if ($val['picto']) {
|
if (!empty($val['picto'])) {
|
||||||
$texttoinsert .= " 'picto'=>'".$val['picto']."',";
|
$texttoinsert .= " 'picto'=>'".$val['picto']."',";
|
||||||
}
|
}
|
||||||
$texttoinsert .= " 'enabled'=>'".($val['enabled'] !== '' ? $val['enabled'] : 1)."',";
|
$texttoinsert .= " 'enabled'=>'".($val['enabled'] !== '' ? $val['enabled'] : 1)."',";
|
||||||
|
|||||||
Reference in New Issue
Block a user