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
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.

AttachmentSize
nodequeue_hook_nodeapi.patch1.02 KB

#1

ezra-g - October 24, 2009 - 20:35
Status:active» fixed

Good catch. Committed. Thanks!

#2

System Message - November 7, 2009 - 20:40
Status:fixed» closed

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

 
 

Drupal is a registered trademark of Dries Buytaert.