Skip to content

Commit

Permalink
QA: #5277 - Wrong query type
Browse files Browse the repository at this point in the history
  • Loading branch information
TheWitness committed Apr 1, 2023
1 parent a3a4784 commit d92aeaf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions poller_boost.php
Expand Up @@ -140,8 +140,8 @@
* Check to see if there are any poller items to process and if not
* exit cleanly
*/
$poller_items = db_fetch_cell('SELECT * FROM poller_output_boost LIMIT 1');
if ($poller_items == 0) {
$poller_items = db_fetch_row('SELECT * FROM poller_output_boost LIMIT 1');
if (!cacti_sizeof($poller_items)) {
exit(0);
}

Expand Down

0 comments on commit d92aeaf

Please sign in to comment.