diff options
Diffstat (limited to 'modules/block.module')
-rw-r--r-- | modules/block.module | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/block.module b/modules/block.module index 045cfe8f2..f19f1d59d 100644 --- a/modules/block.module +++ b/modules/block.module @@ -444,7 +444,7 @@ function block_list($region, $regions = array('left' => 0, 'right' => 1, 'all' = if (!isset($blocks[$region])) { $blocks[$region] = array(); - $result = db_query("SELECT * FROM {blocks} WHERE status = 1 AND region IN ('%s') ORDER BY weight, module", $regions[$region]); + $result = db_query("SELECT * FROM {blocks} WHERE status = 1 AND region IN (%s) ORDER BY weight, module", $regions[$region]); while ($block = db_fetch_array($result)) { // Use the user's block visibility setting, if necessary if ($block['custom'] != 0) { |