Multiblock-enabled modules not saving into multiblock table correctly. Enabled, not Enbabled!

jjeff - June 24, 2008 - 15:41
Project:MultiBlock
Version:6.x-1.1
Component:Code
Category:bug report
Priority:critical
Assigned:Unassigned
Status:closed
Description

There's a typo in the code for inserting an entry into the {multiblock} table. $block_instance->mb_enabled is mistyped as $block_instance->mb_enbabled, which, though hilarious, does not actually insert the correct value into the table.

Attached patch fixes the problem, although you could also fix the problem in about 2 seconds with any text editor.

AttachmentSize
multiblock-enbabled.patch694 bytes

#1

andrewlevine - June 24, 2008 - 20:22
Status:needs review» fixed

thanks, I fixed this in DRUPAL-5 and DRUPAL-6--1

#2

Anonymous (not verified) - July 8, 2008 - 20:32
Status:fixed» closed

Automatically closed -- issue fixed for two weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.