Active
Project:
Nodequeue
Version:
7.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
17 Aug 2018 at 11:34 UTC
Updated:
17 Aug 2018 at 11:34 UTC
Jump to comment: Most recent
Looking at function nodequeue_load_queues, the signature is nodequeue_load_queues($qids = array(), $bypass_cache = FALSE).
The $qids = array() suggests that calling nodequeue_load_queueswith no arguments is fine, and I'd expect to get all queues back in case i did not specify any qids to filter by. However, upon inspection of the code it turns out that calling nodequeue_load_queues with no arguments will return no queues.
I'd suggest changing the function signature to nodequeue_load_queues($qids, $bypass_cache = FALSE)
Comments