Skip to content
Permalink
Browse files

Merge branch 'MDL-65104-36' of git://git.cameron1729.xyz/moodle into …

…MOODLE_36_STABLE
  • Loading branch information...
abgreeve committed May 6, 2019
2 parents a402077 + 3282dda commit 84d3af595b9e33b6c8f8e2788a739bd6fa367ee0
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/classes/hub/registration.php
@@ -80,7 +80,7 @@ protected static function get_registration($confirmed = true) {
global $DB;
if (self::$registration === null) {
self::$registration = $DB->get_record('registration_hubs', ['huburl' => HUB_MOODLEORGHUBURL]);
self::$registration = $DB->get_record('registration_hubs', ['huburl' => HUB_MOODLEORGHUBURL]) ?: null;
}
if (self::$registration && (bool)self::$registration->confirmed == (bool)$confirmed) {
@@ -566,4 +566,4 @@ public static function registration_reminder($url) {
redirect(new moodle_url('/admin/registration/index.php', ['returnurl' => $returnurl->out_as_local_url(false)]));
}
}
}
}

0 comments on commit 84d3af5

Please sign in to comment.
You can’t perform that action at this time.