Merge pull request #22810 from lamrani002/fix_issue_modules_barcode.class.php

Fix issue Scrutinizer in modules_barcode.class.php
This commit is contained in:
Laurent Destailleur 2022-11-14 11:43:25 +01:00 committed by GitHub
commit 56d6894fe9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -75,7 +75,7 @@ abstract class ModeleNumRefBarCode
*/
public function getNom($langs)
{
return empty($this->name) ? $this->nom : $this->name;
return empty($this->name) ? get_class($this) : $this->name;
}
/** Return a numbering example