Closed (fixed)
Project:
Nodequeue
Version:
5.x-2.0-beta
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
8 Aug 2007 at 15:49 UTC
Updated:
11 Sep 2007 at 19:22 UTC
This patch keep nodequeue from spouting errors when there are no queues yet. To reproduce, install nodequeue fresh then go to admin/content/nodequeue. This only is visible in PHP5 or installations where warnings are enabled.
| Comment | File | Size | Author |
|---|---|---|---|
| nodequeue_foreach_warnings.patch | 545 bytes | quicksketch |
Comments
Comment #1
merlinofchaos commentedhttp://drupal.org/cvs?commit=77351
Whoops. Forgot to credit you in the commit message. Sorry about that. I try to!
Comment #2
cog.rusty commentedIs this fixed? In 5.x-2.0-beta (which does contain the $qids=array(); fix), with PHP 5.2.1, no queues defined yet, I am getting
warning: Invalid argument supplied for foreach() in ...... nodequeue.views.inc on line 75.
warning: Invalid argument supplied for foreach() in ...... nodequeue.views.inc on line 160.
Comment #3
merlinofchaos commentedThe fix for the second part of this was something I had, but apparently hadn't checked in.
Comment #4
(not verified) commented