mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-04-08 18:55:09 +02:00
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…
x
Reference in New Issue
Block a user