Fix issue scrutinizer in modules_barcode.class.php duction getNom()

This commit is contained in:
Lamrani Abdel 2022-11-10 11:05:55 +01:00
parent cdcd54e6fe
commit 0707318aed

View File

@ -75,7 +75,7 @@ abstract class ModeleNumRefBarCode
*/ */
public function getNom($langs) 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 /** Return a numbering example