Nodequeue Generate generates out of bound positions.
wulff - May 13, 2009 - 14:47
| Project: | Nodequeue |
| Version: | 6.x-2.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
Jump to:
Description
Currently, the nodequeue_generate module generates the following positions when populating a nodequeue:
1, 3, 5, 7, 9, ...
This happens because $subqueue->count is incremented in both nodequeue_generate_form_submit() and nodequeue_subqueue_add().
Attached patch fixes this.
| Attachment | Size |
|---|---|
| nodequeue_generate_increment.patch | 1.08 KB |

#1
This is committed. Thanks!
#2
Automatically closed -- issue fixed for 2 weeks with no activity.