MDL-68792 theme_boost: Do not move blocks on embedded layout.
This commit is contained in:
@@ -1840,7 +1840,9 @@ class core_renderer extends renderer_base {
|
||||
$output .= $this->block($bc, $region);
|
||||
$lastblock = $bc->title;
|
||||
} else if ($bc instanceof block_move_target) {
|
||||
$output .= $this->block_move_target($bc, $zones, $lastblock, $region);
|
||||
if (!$fakeblocksonly) {
|
||||
$output .= $this->block_move_target($bc, $zones, $lastblock, $region);
|
||||
}
|
||||
} else {
|
||||
throw new coding_exception('Unexpected type of thing (' . get_class($bc) . ') found in list of block contents.');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user