[drupal-devel] [bug] Block region selection in Drupal 4.6.2 is buggy

Goba drupal-devel at drupal.org
Sat Jul 2 13:22:49 UTC 2005


Issue status update for http://drupal.org/node/26233

 Project:      Drupal
 Version:      4.6.2
 Component:    block.module
 Category:     bug reports
 Priority:     normal
 Assigned to:  Anonymous
 Reported by:  Goba
 Updated by:   Goba
 Status:       patch
 Attachment:   http://drupal.org/files/issues/Drupal.block-selection-fix.patch (824 bytes)

Block module has a IN('%s') SQL portion when selecting block regions,
while block regions are numbers, so passing on multiple regions (as it
is with the 'all' region parameter by default) results in IN('0, 1')
and this is incorrect to match integers. Correct form is IN(0, 1).


Spotted while upgrading to Drupal 4.6.2. This might be a problem in
HEAD too, since this seems to be related to the multiple block regions
patch.




Goba




More information about the drupal-devel mailing list