From ac3a93370cdeae3e4d60028670cd3b8a5e4ad51a Mon Sep 17 00:00:00 2001 From: amazuecos Date: Sat, 19 Oct 2024 10:00:31 +0000 Subject: [PATCH] fix : update visto errorPresupuestoForm --- ci4/app/Controllers/Configuracion/ConfigErrores.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ci4/app/Controllers/Configuracion/ConfigErrores.php b/ci4/app/Controllers/Configuracion/ConfigErrores.php index 9014a37a..a47eb8b0 100644 --- a/ci4/app/Controllers/Configuracion/ConfigErrores.php +++ b/ci4/app/Controllers/Configuracion/ConfigErrores.php @@ -35,7 +35,8 @@ class ConfigErrores extends BaseResourceController public function viewForm(int $error_presupuesto_id) { $this->errorPresupuestoModel->update($error_presupuesto_id, [ - "last_user_id" => auth()->user()->id + "last_user_id" => auth()->user()->id, + "visto" => true, ]); return view(static::$viewPath . 'viewErrorPresupuestoForm', ["error_presupuesto_id" => $error_presupuesto_id]); }