Merge branch 'MDL-31616_23' of git://github.com/timhunt/moodle into MOODLE_23_STABLE
This commit is contained in:
@@ -1271,7 +1271,10 @@ class block_manager {
|
||||
} else if ($data = $mform->get_data()) {
|
||||
$bi = new stdClass;
|
||||
$bi->id = $block->instance->id;
|
||||
|
||||
// This may get overwritten by the special case handling below.
|
||||
$bi->pagetypepattern = $data->bui_pagetypepattern;
|
||||
$bi->showinsubcontexts = $data->bui_contexts;
|
||||
if (empty($data->bui_subpagepattern) || $data->bui_subpagepattern == '%@NULL@%') {
|
||||
$bi->subpagepattern = null;
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user