Skip to content

Commit

Permalink
Merge pull request #3 from ojnadjarm/DEF-1677github
Browse files Browse the repository at this point in the history
DEF-1677: Reverting comma separated feature, fixing test and changin …
  • Loading branch information
ojnadjarm authored Jul 22, 2024
2 parents fa47083 + 684a040 commit d77010d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
3 changes: 2 additions & 1 deletion classes/sort_module/user_info_field.php
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,8 @@ public function eligible_groups_for_user(stdClass $user) {

$field = $this->field;
$data = $DB->get_record('user_info_data', ['fieldid' => $field, 'userid' => $user->id]);
if ($data && !empty($data->data)){

if ($data && !empty($data->data)) {
return [$data->data];
}
return [];
Expand Down
3 changes: 3 additions & 0 deletions lang/en/local_autogroup.php
Original file line number Diff line number Diff line change
Expand Up @@ -94,3 +94,6 @@
$string['privacy:metadata:local_autogroup_manual:id'] = 'Record ID';
$string['privacy:metadata:local_autogroup_manual:userid'] = 'The ID of the user';
$string['privacy:metadata:local_autogroup_manual:groupid'] = 'The ID that relates to the group';

// Event task.
$string['process_event'] = 'Process event';

0 comments on commit d77010d

Please sign in to comment.