From dfafd1bbd32e70c009ec7b94390e7a7eea6a3d5b Mon Sep 17 00:00:00 2001 From: MDW Date: Wed, 6 Dec 2023 16:35:47 +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 5188e2d475809..27e61126919d9 100644 --- a/htdocs/bom/class/api_boms.class.php +++ b/htdocs/bom/class/api_boms.class.php @@ -547,7 +547,7 @@ private function _validate($data) * * @return void */ - private function checkRefNumbering(): void + private function checkRefNumbering() { $ref = substr($this->bom->ref, 1, 4); if ($this->bom->status > 0 && $ref == 'PROV') {