FIX: lots of bugfixes, sorry for ugly commit
This commit is contained in:
@@ -7,7 +7,7 @@ class Widget
|
||||
{
|
||||
$handler = $widget->widget_type_handler;
|
||||
|
||||
if (!is_object($widget->settings)) {
|
||||
if (is_string($widget->settings)) {
|
||||
$widget->settings = json_decode($widget->settings);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user