From 9315fd7200229e248e2be241e4ab2cfef189ea02 Mon Sep 17 00:00:00 2001 From: "Eloy Lafuente (stronk7)" Date: Tue, 5 Jul 2011 15:37:16 +0200 Subject: [PATCH] MDL-28185 upgrade - fix oracle problem upgrading blocks --- lib/db/upgrade.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/db/upgrade.php b/lib/db/upgrade.php index 54bd086443e..43d99ad57d0 100644 --- a/lib/db/upgrade.php +++ b/lib/db/upgrade.php @@ -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