Closed (fixed)
Project:
Easy Social
Version:
7.x-2.x-dev
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Reporter:
Created:
7 Jan 2012 at 14:59 UTC
Updated:
9 Feb 2012 at 17:56 UTC
Jump to comment: Most recent file
Submitting the checkboxes gives an array with $key => '0' element for any unchecked options. This behavior should be considered in the _easy_social_render_widgets() function. Currently disabling the standard plugins (Twitter, Facebook, G+ or LinkedIn) is impossible. I recomend change the line 621 from:
if (in_array($key, $enabled_widgets)) {
to:
if (in_array($key, $enabled_widgets) && !empty($enabled_widgets[$key])) {
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | easy_social_enabled_widgets-1397224-3.patch | 481 bytes | aaron.r.carlton |
Comments
Comment #1
maarudth commentedsame here, i think...
can not disable any of the Widgets.
it ignores the settings.
anyone else run into this?
edit -
@bak
i confirm your solution works.
Thanks!
Comment #2
pragnatek commentedSame problem.
Same fix.
Comment #3
aaron.r.carlton commentedSame issue - here is a patch with the above fix.
Comment #4
alexweber commentedWill take a look at this as soon as I can, thanks! :)
Comment #5
alexweber commentedThanks aaron, I've commited this with proper attribution: 288c700
Note, this is fixed in dev release, might take a couple days before 7.x-2.6 gets released