MDL-26618 Moving sticky blocks on other pages does not work in Oracle.

This was due to some missing $DB->sql_empty() in a query affecting the
block_positions table.
This commit is contained in:
Tim Hunt
2011-07-05 17:47:37 +02:00
committed by Eloy Lafuente (stronk7)
parent d5670c612b
commit f404343487
+4
View File
@@ -557,6 +557,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,