From 50af0d7e9bed08f8be32b7bf67db942221abdb4c Mon Sep 17 00:00:00 2001 From: Aldarien Date: Tue, 16 Jun 2020 22:55:41 -0400 Subject: [PATCH] FIX: Cuando no hay archivos en agregar imagen --- common/Controller/Web/Admin/Eventos.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/Controller/Web/Admin/Eventos.php b/common/Controller/Web/Admin/Eventos.php index 7dcfe8e..d494a84 100644 --- a/common/Controller/Web/Admin/Eventos.php +++ b/common/Controller/Web/Admin/Eventos.php @@ -79,7 +79,7 @@ class Eventos { if (count($files) == 0) { $output = [ 'informacion' => '', - 'evento' => $e, + 'evento' => $evento, 'estado' => false ]; $response->getBody()->write(json_encode($output));