2
0
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:
John BOTELLA
2024-08-31 19:42:15 +02:00
committed by GitHub
parent cfd56c0653
commit 079f6487fd
2 changed files with 7 additions and 2 deletions

View File

@@ -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 = '';