@@ -68,7 +68,9 @@ |
||
| 68 | 68 | |
| 69 | 69 | foreach ($selects_data as $d) { |
| 70 | 70 | $val = $d->{$select_field_alias}; |
| 71 | - if ($val == '' || ! $d->id) continue; |
|
| 71 | + if ($val == '' || ! $d->id) { |
|
| 72 | + continue; |
|
| 73 | + } |
|
| 72 | 74 | |
| 73 | 75 | $checked = ($value == $d->id) ? "checked" : ""; |
| 74 | 76 | |
@@ -5,7 +5,9 @@ |
||
| 5 | 5 | */ |
| 6 | 6 | $queryData = function ($form) |
| 7 | 7 | { |
| 8 | - if (! $formInput['options']['table']) return; |
|
| 8 | + if (! $formInput['options']['table']) { |
|
| 9 | + return; |
|
| 10 | + } |
|
| 9 | 11 | $field_label = $formInput['options']['field_label']; |
| 10 | 12 | $field_value = $formInput['options']['field_value']; |
| 11 | 13 | |
@@ -55,7 +55,7 @@ |
||
| 55 | 55 | |
| 56 | 56 | if($this->confirm('Do you have setting the database configuration at .env ?')) { |
| 57 | 57 | $this->installCrudbooster(); |
| 58 | - }else{ |
|
| 58 | + } else{ |
|
| 59 | 59 | $this->info('Setup Aborted !'); |
| 60 | 60 | $this->info('Please setting the database configuration for first !'); |
| 61 | 61 | } |