Fix PHP7.0 incompatibility (void is introduced in 7.1)
This commit is contained in:
parent
9b8d0096e6
commit
bcdb567dd7
1 changed files with 1 additions and 1 deletions
|
|
@ -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') {
|
||||
|
|
|
|||
Loading…
Reference in a new issue