From f8632149ade4a73e275f57ef19e6ecfef1ae354a 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 271fb121296..397f045791b 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