From f18c764a7c364c1ddc2abcc27c977e1a1524a327 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20S=CC=8Ckoda?= Date: Wed, 26 Jun 2013 09:50:33 +0200 Subject: [PATCH] MDL-39701 prevent string filtering before finishing 2.5 upgrade --- lib/weblib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/weblib.php b/lib/weblib.php index 67c351083f2..f6b646886e5 100644 --- a/lib/weblib.php +++ b/lib/weblib.php @@ -1296,7 +1296,7 @@ function format_string($string, $striplinks = true, $options = NULL) { //We'll use a in-memory cache here to speed up repeated strings static $strcache = false; - if (empty($CFG->version) or $CFG->version < 2010072800 or during_initial_install()) { + if (empty($CFG->version) or $CFG->version < 2013051400 or during_initial_install()) { // do not filter anything during installation or before upgrade completes return $string = strip_tags($string); }