From aef101eed9f80b7e3d44f2edbb88d8b37319e273 Mon Sep 17 00:00:00 2001 From: Baptiste Le Bec Date: Fri, 27 Dec 2019 15:30:01 +0100 Subject: [PATCH] Fix SQL Error --- inc/erroritem.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/erroritem.class.php b/inc/erroritem.class.php index 136054b..5aa2f22 100644 --- a/inc/erroritem.class.php +++ b/inc/erroritem.class.php @@ -207,7 +207,7 @@ function isInError() { if ($config_data['enable_error_handler']) { $data = $this->find(["items_id" => $this->items_id, - "LOWER(itemtype)" => strtolower($this->itemtype)]); + "itemtype" => strtolower($this->itemtype)]); $data = reset($data); if ($data['error_counter'] > 0) {