Repeated nodequeue_load_queues() in nodequeue_nodeapi()
wulff - June 5, 2009 - 17:41
| Project: | Nodequeue |
| Version: | 6.x-2.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
Jump to:
Description
The hook_nodeapi implementation currently contains this:
$queues = nodequeue_load_queues(array($obj->qid));
$queue = nodequeue_load_queues(array($obj->qid));This doesn't look right, and results in a PHP notice as well.
Patch attached.
| Attachment | Size |
|---|---|
| nodequeue_hook_nodeapi.patch | 1.02 KB |

#1
Good catch. Committed. Thanks!
#2
Automatically closed -- issue fixed for 2 weeks with no activity.