Skip to content

Commit

Permalink
Merge branch 'MDL-77868' of https://github.com/paulholden/moodle
Browse files Browse the repository at this point in the history
  • Loading branch information
sarjona committed Jul 3, 2023
2 parents 71aba52 + 246e5ff commit a3452bd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion mod/bigbluebuttonbn/classes/local/config.php
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,7 @@ protected static function defaultvalues(): array {
'hideuserlist_default' => false,
'hideuserlist_editable' => true,
'welcome_default' => '',
'welcome_editable' => true,
'default_dpa_accepted' => false,
'poll_interval' => bigbluebutton_proxy::DEFAULT_POLL_INTERVAL,
'checksum_algorithm' => self::DEFAULT_CHECKSUM_ALGORITHM,
Expand Down Expand Up @@ -155,7 +156,7 @@ public static function get(string $setting): string {
if (isset($CFG->{'bigbluebuttonbn_' . $setting})) {
return (string) $CFG->{'bigbluebuttonbn_' . $setting};
}
return self::defaultvalue($setting);
return (string) self::defaultvalue($setting);
}

/**
Expand Down

0 comments on commit a3452bd

Please sign in to comment.