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