forked from Wavyzz/dolibarr
Fix : php 8 warnings v19.0 (#30799)
* fix php8 err * Fix php 8 * fix missing precommit hooks * Update htdocs/commande/list.php * Update htdocs/commande/list.php
This commit is contained in:
@@ -8145,7 +8145,7 @@ class Form
|
||||
|
||||
$oldValueForShowOnCombobox = 0;
|
||||
foreach ($objecttmp->fields as $fieldK => $fielV) {
|
||||
if (!$fielV['showoncombobox'] || empty($objecttmp->$fieldK)) continue;
|
||||
if (!array_key_exists('showoncombobox', $fielV) || !$fielV['showoncombobox'] || empty($objecttmp->$fieldK)) continue;
|
||||
|
||||
if (!$oldValueForShowOnCombobox) {
|
||||
$selected_input_value = '';
|
||||
|
||||
Reference in New Issue
Block a user