mirror of
https://github.com/moodle/moodle.git
synced 2025-04-21 16:32:18 +02:00
initialised variables
This commit is contained in:
parent
d86b7d5a66
commit
d2a8163d07
@ -90,6 +90,7 @@ class community_hub_search_form extends moodleform {
|
||||
//Public hub list
|
||||
$options = array();
|
||||
$brtag = html_writer::empty_tag('br');
|
||||
$firsthub = false;
|
||||
foreach ($hubs as $hub) {
|
||||
if (key_exists('id', $hub)) {
|
||||
$params = array('hubid' => $hub['id'],
|
||||
|
@ -101,6 +101,7 @@ class block_community_manager {
|
||||
fclose($fp);
|
||||
|
||||
$fs = get_file_storage();
|
||||
$record = new object();
|
||||
$record->contextid = get_context_instance(CONTEXT_USER, $USER->id)->id;
|
||||
$record->component = 'user';
|
||||
$record->filearea = 'private';
|
||||
|
Loading…
x
Reference in New Issue
Block a user