8940 fix events view
This commit is contained in:
parent
d53fd32ac9
commit
da0f1db288
|
@ -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".');
|
||||
|
|
Loading…
Reference in New Issue