diff --git a/src/QUI/ERP/Accounting/Article.php b/src/QUI/ERP/Accounting/Article.php index da134f06cd7b3c8082adf999bad6d6fa9aeb5259..c2f0205e1e53f7cf92758625b700071fcb01696d 100644 --- a/src/QUI/ERP/Accounting/Article.php +++ b/src/QUI/ERP/Accounting/Article.php @@ -562,7 +562,7 @@ public function getQuantityUnit($Locale = null): string if (isset($options['entries'][$unitId])) { $titles = $options['entries'][$unitId]['title']; - if ($titles[$current]) { + if (!empty($titles[$current])) { return $titles[$current]; } }