8940 fix events view

This commit is contained in:
Daniel Barbero Martin 2022-05-05 11:32:37 +02:00
parent d53fd32ac9
commit da0f1db288
1 changed files with 1 additions and 1 deletions

View File

@ -757,7 +757,7 @@ function events_get_all(
if (is_array($fields) === false && $fields === 'count'
|| (is_array($fields) === true && $fields[0] === 'count')
) {
$fields = ['te.id_evento'];
$fields = ['te.*'];
$count = true;
} else if (!is_array($fields)) {
error_log('[events_get_all] Fields must be an array or "count".');