From 429e4187fb36eb052dafcb6c189d1c732ea68f8a Mon Sep 17 00:00:00 2001 From: Aldarien Date: Wed, 17 Jun 2020 23:09:16 -0400 Subject: [PATCH] FIX: deleteImage tiraba error por no tener var file --- 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 d494a84..278041f 100644 --- a/common/Controller/Web/Admin/Eventos.php +++ b/common/Controller/Web/Admin/Eventos.php @@ -114,7 +114,7 @@ class Eventos { $e = $eventos[$evento]; $status = $loader->delete($e, $post['media']); $output = [ - 'informacion' => $file, + 'informacion' => $post, 'evento' => $e, 'estado' => !$status ];