Skip to content
Browse files

MDL-28185 upgrade - fix oracle problem upgrading blocks

  • Loading branch information...
1 parent 020f0ff commit 9315fd7200229e248e2be241e4ab2cfef189ea02 @stronk7 stronk7 committed Jul 5, 2011
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

0 comments on commit 9315fd7

Please sign in to comment.
Something went wrong with that request. Please try again.