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:
commit
56d6894fe9
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user