Skip to content

Safety check creates SQL aggregating error #195

@ScottVerbeek

Description

@ScottVerbeek

The SQL query here https://github.com/catalyst/moodle-local_datacleaner/blob/MOODLE_311_STABLE/cli/lib.php#L106-L112

Uses a group by statement incorrectly. Changing the select to select distinct and removing the group by will resolve the issue.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions