When adding node to queue manualy(in code) some time i receive warning.
This warning raised by calling nodequeue_load_queues() function with NULL argument somewhere from nodequeue.actions.inc.
Proposition: add next lines to start nodequeue_load_queues() function:
if (!is_array($qids)) {
$qids = array();
}
| Comment | File | Size | Author |
|---|---|---|---|
| null.patch | 92 bytes | shagren |
Comments
Comment #1
ezra-g commentedI implemented this as a default value for the $qid parameter in nodequeue_load_queues. Thanks!