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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user