Closed (fixed)
Project:
Block Queue
Version:
6.x-1.7
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
22 Aug 2009 at 19:14 UTC
Updated:
9 Sep 2009 at 20:06 UTC
When you make a block queue you can enter 0 (zero) for the maximum number of blocks.
When displaying the queues (admin/build/blockqueue) these displays as infinite (consistent with other Drupal interfaces)
But when you go to add a block, you get the error "No additional blocks are allowed in this queue."
I think in blockqueue_view_queue_submit() this line
if (count($form_state['values']['blocks']) >= $form['#max_size']) {
should be
if ($form['#max_size'] && (count($form_state['values']['blocks']) >= $form['#max_size'])) {
Comments
Comment #1
gogasan commentedresolved