Closed (fixed)
Project:
Block edit
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
28 Mar 2010 at 15:37 UTC
Updated:
10 Jan 2012 at 18:00 UTC
Jump to comment: Most recent file
Comments
Comment #1
jwilson3I can confirm this error still exists with the latest versions of block_edit module (6.x-1.10) as well as with dev.
This is a trivial bug and a trivial fix reported long ago and I'm sad to see that it still hasn't made it into the codebase yet :/
Comment #2
jwilson3A modified patch for people using the latest recommended release (6.x-1.10)...
Comment #3
jwilson3Actually, this issue is compounded if the variable 'block_edit_tabs' hasn't been set... for example, when you first install the module. The default array_keys() provided by the variable_get('block_edit_tabs', array_keys(X)) is in the wrong format.
This fixes the default variable_get() as well as the logic in the if statement.
Comment #4
larskleiner commentedThe OP patch does work for me in 6.x-1.x-dev, thanks eMPee584.
Comment #5
gmclelland commented+1
original patch works for me in 6.x-1.x-dev, thanks eMPee584.
@jwilson3 - I couldn't get your patch in #3 to apply to 6.x-1.x-dev
Comment #6
gmclelland commentedFor what it is worth...
Tested again with @eMPee584 patch, works but I seem to be having block_edit problems with the local task menus not showing in places like admin/build/path
Tried @jwilson3 patch again, but it didn't apply.
Comment #7
joelstein commentedFixed in 6.x-1.x:
http://drupal.org/commitlog/commit/7690/e466f8fcfe4d5c0004d1bc7169dd27f4...
A new release will be available shortly.