Closed (fixed)
Project:
Nodequeue
Version:
7.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
30 Jun 2012 at 15:42 UTC
Updated:
12 Jan 2015 at 21:04 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
igor.ro commentedHere is the patch.
Comment #2
cameron tod commentedSome code we are working on here would really benefit from this. static is used instead of drupal_static in several places, not just in nodequeue_get_qid_map().
Comment #3
pfrenssenI need this to be able to run tests on nodequeues that are exported with Features Extra. For the moment I will have to implement my own variants of these functions so I can clear the static caches.
Review:
The ampersand is forgotten in this instance, causing the function not to be passed by reference.
Rest of the patch looks good.
Comment #5
fizk commentedCommitted, thanks!