From 9cc01d6787ecf782f29b6a0dbf842a0e60ebd951 Mon Sep 17 00:00:00 2001 From: sparkyx Date: Sat, 30 Dec 2023 16:30:24 +0100 Subject: [PATCH] Task #0002219 PHP 8.1 Compatibility --- include/opening.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)