From bcdb567dd75a592483df6965481cdc5b86aef222 Mon Sep 17 00:00:00 2001 From: MDW Date: Wed, 6 Dec 2023 16:47:44 +0100 Subject: [PATCH] Fix PHP7.0 incompatibility (void is introduced in 7.1) --- htdocs/bom/class/api_boms.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/bom/class/api_boms.class.php b/htdocs/bom/class/api_boms.class.php index 52e6fe90501..2147f7be1ba 100644 --- a/htdocs/bom/class/api_boms.class.php +++ b/htdocs/bom/class/api_boms.class.php @@ -546,7 +546,7 @@ class Boms extends DolibarrApi * * @return void */ - private function checkRefNumbering(): void + private function checkRefNumbering() { $ref = substr($this->bom->ref, 1, 4); if ($this->bom->status > 0 && $ref == 'PROV') {