diff --git a/app/Http/Controllers/CargosClientesController.php b/app/Http/Controllers/CargosClientesController.php index aa967db..5f237f2 100644 --- a/app/Http/Controllers/CargosClientesController.php +++ b/app/Http/Controllers/CargosClientesController.php @@ -213,7 +213,10 @@ public function update(Request $request, $id){ } $dbDetalle->fill($fields->toArray()); - $dbData->descripcion = $request->descripcion; + if($request->descripcion){ + $dbData->descripcion = $request->descripcion; + } + //dd($dbDetalle); if($request->excluir){