app/Http/Controllers/Admin/UserController.php 1 location
|
@@ 87-90 (lines=4) @@
|
| 84 |
|
/** |
| 85 |
|
* Row does not exist - redirect |
| 86 |
|
*/ |
| 87 |
|
if($arResults == FALSE){ |
| 88 |
|
|
| 89 |
|
return redirect(route($this->moduleBasicRoute . '.index'))->withInput()->withErrors(['edit' => trans('validation.row_not_exist')]); |
| 90 |
|
} |
| 91 |
|
|
| 92 |
|
/** |
| 93 |
|
* Set updated values |
app/Http/Controllers/Admin/AdminModuleController.php 2 locations
|
@@ 419-422 (lines=4) @@
|
| 416 |
|
/** |
| 417 |
|
* Row does not exist - redirect |
| 418 |
|
*/ |
| 419 |
|
if (count($arResults) == 0) { |
| 420 |
|
|
| 421 |
|
return redirect(route($this->moduleBasicRoute . '.index'))->withInput()->withErrors(['edit' => trans('validation.row_not_exist')]); |
| 422 |
|
} |
| 423 |
|
|
| 424 |
|
/** |
| 425 |
|
* Set the put method for update |
|
@@ 492-495 (lines=4) @@
|
| 489 |
|
/** |
| 490 |
|
* Row does not exist - redirect |
| 491 |
|
*/ |
| 492 |
|
if ($arResults == FALSE) { |
| 493 |
|
|
| 494 |
|
return redirect(route($this->moduleBasicRoute . '.index'))->withInput()->withErrors(['edit' => trans('validation.row_not_exist')]); |
| 495 |
|
} |
| 496 |
|
|
| 497 |
|
/** |
| 498 |
|
* Reset cache |