mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-02-14 08:54:21 +01:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user