From f8ff5bcd592f7a795588adbef02a6a0268867c7b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Patrick=20M=C3=BCller?= <p.mueller@pcsg.de>
Date: Thu, 7 Feb 2019 17:09:33 +0100
Subject: [PATCH] fix: declare error as error message instead of success msg

---
 ajax/getList.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ajax/getList.php b/ajax/getList.php
index 395ff7a..5787df2 100644
--- a/ajax/getList.php
+++ b/ajax/getList.php
@@ -44,7 +44,7 @@ function ($searchParams) {
         } catch (\Exception $Exception) {
             QUI\System\Log::writeException($Exception);
 
-            QUI::getMessagesHandler()->addSuccess(
+            QUI::getMessagesHandler()->addError(
                 QUI::getLocale()->get(
                     'quiqqer/coupons',
                     'message.ajax.general_error'
-- 
GitLab