Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
fmido88 authored Sep 2, 2023
1 parent 19e1e62 commit 8e7d05f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion classes/observer.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,8 @@ class observer {
* @return void
*/
public static function wallet_completion_awards(\core\event\course_completed $event) {
if (!get_config('enrol_wallet', 'awardssite')) {
$siteaward = get_config('enrol_wallet', 'awardssite');
if (empty($siteaward)) {
return;
}

Expand Down

0 comments on commit 8e7d05f

Please sign in to comment.