Download & Extend

array_shift error on nodequeue_view_random_node

Project:Nodequeue
Version:6.x-2.2
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

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.

Comments

#1

Priority:critical» normal
Status:active» needs review

The attached patch fixes the problem. Does this resolve the problem for you?

AttachmentSizeStatusTest resultOperations
490130.patch855 bytesIgnored: Check issue status.NoneNone

#2

Title:Latest update breaks nodequeue_view_random_node» array_shift error on nodequeue_view_random_node
Status:needs review» fixed

This is committed.

#3

Status:fixed» closed (fixed)

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