FIX: Cuando no hay archivos en agregar imagen
This commit is contained in:
@ -79,7 +79,7 @@ class Eventos {
|
|||||||
if (count($files) == 0) {
|
if (count($files) == 0) {
|
||||||
$output = [
|
$output = [
|
||||||
'informacion' => '',
|
'informacion' => '',
|
||||||
'evento' => $e,
|
'evento' => $evento,
|
||||||
'estado' => false
|
'estado' => false
|
||||||
];
|
];
|
||||||
$response->getBody()->write(json_encode($output));
|
$response->getBody()->write(json_encode($output));
|
||||||
|
Reference in New Issue
Block a user