rshinesun %!s(int64=8) %!d(string=hai) anos
pai
achega
6ffa1c77c6
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      app/Http/Controllers/Admin/UserController.php

+ 1 - 1
app/Http/Controllers/Admin/UserController.php

xqd
@@ -40,7 +40,7 @@ class UserController extends CommonController
     public function update($user_id)
     {
 
-        $validator = Validator::make(Input::except('_token', '_method'), [
+        $validator = Validator::make($input = Input::except('_token', '_method'), [
             'name' => 'required',
             'surname' => 'required'
         ], [