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

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