MDL-28185 upgrade - fix oracle problem upgrading blocks

This commit is contained in:
Eloy Lafuente (stronk7)
2011-07-05 15:38:37 +02:00
parent 020f0ffc5b
commit 9315fd7200
+1 -1
View File
@@ -1854,7 +1854,7 @@ WHERE gradeitemid IS NOT NULL AND grademax IS NOT NULL");
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