Closed (fixed)
Project:
Nodequeue
Version:
6.x-2.0-rc3
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
8 Dec 2008 at 13:01 UTC
Updated:
9 Jan 2009 at 00:50 UTC
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!