From 1487a1fd72c7c4c6b6c207c915271ccdfbf507df Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sat, 16 Aug 2025 03:06:44 +0200 Subject: [PATCH] Fix warning --- htdocs/core/tpl/object_discounts.tpl.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/htdocs/core/tpl/object_discounts.tpl.php b/htdocs/core/tpl/object_discounts.tpl.php index 7fcda230c82..3efcc6ea7bf 100644 --- a/htdocs/core/tpl/object_discounts.tpl.php +++ b/htdocs/core/tpl/object_discounts.tpl.php @@ -65,6 +65,9 @@ if (empty($absolute_discount)) { if (empty($absolute_creditnote)) { $absolute_creditnote = 0; } +if (empty($nb_creditnote_notyetavailable)) { + $nb_creditnote_notyetavailable = 0; +} // Relative and absolute discounts