Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

MDL-28185 upgrade - fix oracle problem upgrading blocks

  • Loading branch information...
commit 9315fd7200229e248e2be241e4ab2cfef189ea02 1 parent 020f0ff
@stronk7 stronk7 authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/db/upgrade.php
View
2  lib/db/upgrade.php
@@ -1854,7 +1854,7 @@ function xmldb_main_upgrade($oldversion) {
WHERE ctx.id = bi.contextid)
ELSE bi.pagetypepattern END,
CASE WHEN bi.subpagepattern IS NULL
- THEN ''
+ THEN '" . $DB->sql_empty() . "'
ELSE bi.subpagepattern END,
0, bi.defaultregion, bi.defaultweight
FROM {block_instances} bi
Please sign in to comment.
Something went wrong with that request. Please try again.