mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-17 23:13:15 +00:00
Merge branch '3.8'
Conflicts: CHANGELOG.md bin/developer lib/classes/module/console/systemUpgrade.php www/skins/report/jquery-ui.css
This commit is contained in:
@@ -496,7 +496,7 @@ class databox_field implements cache_cacheableInterface
|
||||
throw new InvalidArgumentException(sprintf('Code %s is not defined', $code));
|
||||
}
|
||||
|
||||
return isset($this->labels[$code]) ? $this->labels[$code] : $this->name;
|
||||
return isset($this->labels[$code]) && '' !== $this->labels[$code] ? $this->labels[$code] : $this->name;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user