diff --git a/src/QUI/ERP/EventHandler.php b/src/QUI/ERP/EventHandler.php
index b5b5e5761230c2f496310e8c300820c105de4e3d..1c226462d2629b5f6212a24a5958e76e5686d371 100644
--- a/src/QUI/ERP/EventHandler.php
+++ b/src/QUI/ERP/EventHandler.php
@@ -43,6 +43,11 @@ public static function onTemplateGetHeader(QUI\Template $Template)
         try {
             $Package = QUI::getPackage('quiqqer/erp');
             $areas = $Package->getConfig()->get('general', 'customerRequestWindow');
+
+            if (empty($areas)) {
+                return;
+            }
+
             $areas = explode(',', $areas);
         } catch (\QUI\Exception $exception) {
             return;