Merge branch 'MDL-26618_20' of git://github.com/timhunt/moodle into MOODLE_20_STABLE

This commit is contained in:
Eloy Lafuente (stronk7)
2011-07-05 17:48:30 +02:00
+4
View File
@@ -550,6 +550,10 @@ class block_manager {
'contextid2' => $context->id,
'pagetype' => $this->page->pagetype,
);
if ($this->page->subpage === '') {
$params['subpage1'] = $DB->sql_empty();
$params['subpage2'] = $DB->sql_empty();
}
$sql = "SELECT
bi.id,
bp.id AS blockpositionid,