diff --git a/include/opening.inc.php b/include/opening.inc.php index 295c81044..18fa6cae9 100644 --- a/include/opening.inc.php +++ b/include/opening.inc.php @@ -250,7 +250,7 @@ if ($sa=='step4') $amount='amount'.$idx; $ck='ck'.$idx; $result[$qcode]=$row['j_qcode']; - if (trim($row['j_qcode'])=='') + if (trim($row['j_qcode']??"")=='') $result[$poste]=$row['j_poste']; $result[$amount]=abs($row['solde']); if ($row['solde']>0)