FIX: fix editing widget with container ID
This commit is contained in:
@@ -42,7 +42,7 @@ class EditWidget extends Controller
|
||||
// update name
|
||||
$widget->name = $request->name;
|
||||
$widget->container_class = $request->containerClass;
|
||||
$widget->container_id = $request->containerId;
|
||||
$widget->container_id = empty($request->containerId) ? null : $request->containerId;
|
||||
$widget->description = $request->description;
|
||||
|
||||
// try to save this widget
|
||||
|
||||
Reference in New Issue
Block a user