array_shift error on nodequeue_view_random_node
William Haller - June 12, 2009 - 19:06
| Project: | Nodequeue |
| Version: | 6.x-2.2 |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
Description
The new code throws a PHP error for
array_shift(): The argument should be an array in nodequeue.module on line 2593.
Removing the array_shift and returning this line of code to the previous version fixes the problem. Not sure of the reason why it was changed or the effects of reverting, but it doesn't work as it is.

#1
The attached patch fixes the problem. Does this resolve the problem for you?
#2
This is committed.
#3
Automatically closed -- issue fixed for 2 weeks with no activity.