diff --git a/local/qeupgradehelper/locallib.php b/local/qeupgradehelper/locallib.php index 8cba61c2a05bb..ad4bbc48e1beb 100755 --- a/local/qeupgradehelper/locallib.php +++ b/local/qeupgradehelper/locallib.php @@ -540,14 +540,19 @@ function local_qeupgradehelper_format_var($name, $var) { $out = preg_replace('/=> \n\s*/', '=> ', $out); $out = str_replace(')),', '),', $out); $out = str_replace('))', ')', $out); - $out = preg_replace('/\n (?! )/', "\n ", $out); - $out = preg_replace('/\n (?! )/', "\n ", $out); - $out = preg_replace('/\n (?! )/', "\n ", $out); - $out = preg_replace('/\n (?! )/', "\n ", $out); - $out = preg_replace('/\n (?! )/', "\n ", $out); - $out = preg_replace('/\n (?! )/', "\n ", $out); - $out = preg_replace('/\n (?! )/', "\n ", $out); - $out = preg_replace('/\n(?! )/', "\n ", $out); + $out = preg_replace('/\n (?! )/', "\n ", $out); + $out = preg_replace('/\n (?! )/', "\n ", $out); + $out = preg_replace('/\n (?! )/', "\n ", $out); + $out = preg_replace('/\n (?! )/', "\n ", $out); + $out = preg_replace('/\n (?! )/', "\n ", $out); + $out = preg_replace('/\n (?! )/', "\n ", $out); + $out = preg_replace('/\n (?! )/', "\n ", $out); + $out = preg_replace('/\n (?! )/', "\n ", $out); + $out = preg_replace('/\n (?! )/', "\n ", $out); + $out = preg_replace('/\n (?! )/', "\n ", $out); + $out = preg_replace('/\n (?! )/', "\n ", $out); + $out = preg_replace('/\n (?! )/', "\n ", $out); + $out = preg_replace('/\n(?! )/', "\n ", $out); $out = preg_replace('/\bNULL\b/', 'null', $out); return " $name = $out;\n"; }