mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-02-08 00:52:01 +01:00
Fix issue scrutinizer in modules_barcode.class.php duction getNom()
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