Closed (fixed)
Project:
Insert
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
14 Oct 2010 at 17:25 UTC
Updated:
3 Feb 2011 at 22:10 UTC
Jump to comment: Most recent file
In the insert_element_process() function, default style is always set to 'auto' due to a typo.
$default = !empty($instnace['widget']['settings']['insert_default']) ? $widget_settings['insert_default'] : 'auto';
should be:
$default = !empty($instance['widget']['settings']['insert_default']) ? $widget_settings['insert_default'] : 'auto';
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | insert-941736-instance-typo.patch | 828 bytes | florisla |
Comments
Comment #1
florisla commentedI came across this typo also; here is a patch with the same fix.
Comment #2
florisla commentedChanging status to 'needs review', but I'm not really sure if it really does :-)
Perhaps we could go straight to 'reviewed & tested'?
Comment #3
tsvenson commentedConfirmed, works like it says on the tin.
Comment #4
bryancasler commentedconfirmed, #1 works for me
Comment #5
quicksketchThanks, committed.