mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-04-08 18:55:09 +02:00
#10311 ignore extraid in sql when is empty
This commit is contained in:
parent
6f5cae9a1f
commit
031c8a8db1
@ -1494,7 +1494,8 @@ function events_get_all(
|
||||
break;
|
||||
|
||||
case EVENT_GROUP_REP_EXTRAIDS:
|
||||
// Group by events.
|
||||
// Group by events and ignore null.
|
||||
$sql_filters[] = 'AND te.id_extra IS NOT NULL AND te.id_extra <> ""';
|
||||
$group_by .= 'te.id_extra';
|
||||
break;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user