Skip to content
Browse files

Merge branch 'MDL-31616_23' of git://github.com/timhunt/moodle into M…

…OODLE_23_STABLE
  • Loading branch information...
2 parents 09ebf83 + 6fc65ae commit 5f2d7b30092b7480b097a3eafe4b3797a24701ff @stronk7 stronk7 committed Jan 15, 2013
Showing with 3 additions and 0 deletions.
  1. +3 −0 lib/blocklib.php
View
3 lib/blocklib.php
@@ -1271,7 +1271,10 @@ public function process_url_edit() {
} 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 {

0 comments on commit 5f2d7b3

Please sign in to comment.
Something went wrong with that request. Please try again.