diff --git a/htdocs/translate.class.php b/htdocs/translate.class.php index e71b08f28aa..75a1edf630a 100644 --- a/htdocs/translate.class.php +++ b/htdocs/translate.class.php @@ -494,6 +494,9 @@ class Translate { */ function getLabelFromKey($db,$key,$tablename,$fieldkey,$fieldlabel) { + // If key empty + if ($key == '') return ''; + // Check in cache if (! empty($this->cache_labels[$tablename][$key])) {