We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
@@ -11,7 +11,7 @@ |
||
| 11 | 11 | */ |
| 12 | 12 | public function getSaveAction() |
| 13 | 13 | { |
| 14 | - $cantCreate = ! $this->crud->hasAccess('create'); |
|
| 14 | + $cantCreate = !$this->crud->hasAccess('create'); |
|
| 15 | 15 | $saveAction = session('save_action', config('backpack.crud.default_save_action', 'save_and_back')); |
| 16 | 16 | if ($saveAction == 'save_and_new' && $cantCreate) { |
| 17 | 17 | $saveAction = 'save_and_back'; |