|
@@ -74,9 +74,9 @@ |
|
|
block discarded – undo |
|
74
|
74
|
} |
|
75
|
75
|
} |
|
76
|
76
|
// Redirect if form not valid |
|
77
|
|
- if (! $form->isValid()) { |
|
|
77
|
+ if (!$form->isValid()) { |
|
78
|
78
|
ucnotify(uctrans('notification.form.not_valid', $module), 'error'); |
|
79
|
|
- $response = redirect(route('uccello.popup.edit', ['domain' => $domain->slug, 'module' => $module->name])); |
|
|
79
|
+ $response = redirect(route('uccello.popup.edit', [ 'domain' => $domain->slug, 'module' => $module->name ])); |
|
80
|
80
|
$response = $response->withErrors($form->getErrors(), $form->getErrorBag())->withInput(); |
|
81
|
81
|
return $response; |
|
82
|
82
|
} |
Please login to merge, or discard this patch.