From 72452bfad5aa0c3f819e774aaefdc5173ca47c63 Mon Sep 17 00:00:00 2001
From: Henning Leutz <leutz@pcsg.de>
Date: Thu, 17 Nov 2016 08:13:57 +0100
Subject: [PATCH] fix: message.cron.admin.info.24h

---
 src/QUI/Cron/EventHandler.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/QUI/Cron/EventHandler.php b/src/QUI/Cron/EventHandler.php
index 5ea9431..ef6f2fb 100644
--- a/src/QUI/Cron/EventHandler.php
+++ b/src/QUI/Cron/EventHandler.php
@@ -126,7 +126,7 @@ class EventHandler
     {
         QUI::getMessagesHandler()->sendAttention(
             QUI::getUserBySession(),
-            QUI::getLocale()->get('quiqqer/cron', 'message.cron.admin.info.24h')
+            QUI::getUserBySession()->getLocale()->get('quiqqer/cron', 'message.cron.admin.info.24h')
         );
     }
 }
-- 
GitLab