wesmiler hace 1 semana
padre
commit
eb89f6db2b
Se han modificado 1 ficheros con 1 adiciones y 2 borrados
  1. 1 2
      app/Services/Exam/SubjectService.php

+ 1 - 2
app/Services/Exam/SubjectService.php

@@ -77,8 +77,7 @@ class SubjectService extends BaseService
     public function edit()
     {
         $data = request()->all();
-        $data = isset($data['description'])?$data['description']:'';
-        var_dump($data);
+        $data['description'] = isset($data['description'])?$data['description']:'';
         return parent::edit($data); // TODO: Change the autogenerated stub
     }