From 29d650960c2a4014ca71a0fa3c1e3884ffda42ef Mon Sep 17 00:00:00 2001 From: MDW Date: Wed, 13 Mar 2024 17:08:13 +0100 Subject: [PATCH] Fix Initialise $numline to fix PhanTypeInvalidUnaryOperandIncOrDec --- htdocs/reception/dispatch.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/htdocs/reception/dispatch.php b/htdocs/reception/dispatch.php index 69055aa130c..94258089bed 100644 --- a/htdocs/reception/dispatch.php +++ b/htdocs/reception/dispatch.php @@ -9,6 +9,7 @@ * Copyright (C) 2017-2022 Ferran Marcet * Copyright (C) 2018-2022 Frédéric France * Copyright (C) 2019-2020 Christophe Battarel + * Copyright (C) 2024 MDW * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -304,6 +305,7 @@ $supplierorderdispatch = new CommandeFournisseurDispatch($db); $title = $object->ref." - ".$langs->trans('ReceptionDistribution'); $help_url = 'EN:Module_Suppliers_Orders|FR:CommandeFournisseur|ES:Módulo_Pedidos_a_proveedores'; $morejs = array('/fourn/js/lib_dispatch.js.php'); +$numline = 0; llxHeader('', $title, $help_url, '', 0, 0, $morejs);