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-04 15:36:16 +01:00
parent 81f8e0f8a0
commit fd3932fe54
+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,