mirror of
https://github.com/moodle/moodle.git
synced 2025-08-08 10:26:40 +02:00
Merge branch 'MDL-59629-master' of git://github.com/peterRd/moodle
This commit is contained in:
commit
6776651372
1 changed files with 5 additions and 0 deletions
|
@ -519,6 +519,11 @@ class block_manager {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
$this->regions[$region] = 1;
|
$this->regions[$region] = 1;
|
||||||
|
|
||||||
|
// Checking the actual property instead of calling get_default_region as it ends up in a recursive call.
|
||||||
|
if (empty($this->defaultregion)) {
|
||||||
|
$this->set_default_region($region);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue