From eb12fe65451e2b8d12c04eb167ce440d8fc4f8d7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20FRANCE?= Date: Thu, 7 Mar 2024 19:11:43 +0100 Subject: [PATCH] fix create from order (#28660) --- htdocs/fichinter/card.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/htdocs/fichinter/card.php b/htdocs/fichinter/card.php index c5d1ad93933..a8301b48558 100644 --- a/htdocs/fichinter/card.php +++ b/htdocs/fichinter/card.php @@ -8,7 +8,7 @@ * Copyright (C) 2014-2022 Charlene Benke * Copyright (C) 2015-2016 Abbes Bahfir * Copyright (C) 2018-2022 Philippe Grand - * Copyright (C) 2020 Frédéric France + * Copyright (C) 2020-2024 Frédéric France * Copyright (C) 2023 Benjamin Grembi * Copyright (C) 2023-2024 William Mead * @@ -338,7 +338,7 @@ if (empty($reshook)) { if ($product_type == Product::TYPE_SERVICE || getDolGlobalString('FICHINTER_PRINT_PRODUCTS')) { //only services except if config includes products $duration = 3600; // Default to one hour - + $desc = ''; // Predefined products & services if ($lines[$i]->fk_product > 0) { $prod = new Product($db);