MDL-28185 upgrade - fix oracle problem upgrading blocks

This commit is contained in:
Eloy Lafuente (stronk7)
2011-07-05 15:38:09 +02:00
parent d64baeceb2
commit f8632149ad
+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