Skip to content

Commit

Permalink
Merge pull request #59 from baplb/9.4/bugfixes
Browse files Browse the repository at this point in the history
Fix SQL Error
  • Loading branch information
tsmr authored Jul 16, 2020
2 parents bf158bb + aef101e commit df615b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inc/erroritem.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit df615b9

Please sign in to comment.