$threads = $queue['total_items'] / $queue['threshold'];
        if ($threads <= $queue['min_threads']) {
          $threads = $queue['min_threads'];
        }
        elseif ($thread > $queue['max_threads']) {
          $threads = $queue['max_threads'];
        }

sadly there isn't a $thread variable in the else if.

Comments

Steven Jones created an issue. See original summary.

steven jones’s picture

Status: Active » Needs review
StatusFileSize
new510 bytes

  • Steven Jones committed 390d22a on 7.x-3.x
    Issue #2732491 by Steven Jones: Undefined variable in hosting_get_queues
    
steven jones’s picture

Status: Needs review » Fixed

Committed.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.