From: mudrd8mz Date: Mon, 15 Jan 2007 11:40:26 +0000 (+0000) Subject: The script used to fwrite \?\> instead of ?>. Fixes MDL-8129. X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=de4214a592b043a85fbd44ad304a1842e024431d;p=moodle.git The script used to fwrite \?\> instead of ?>. Fixes MDL-8129. This was introduced in 1.80 by moodler. Don't know why but it caused an PHP critical syntax error. --- diff --git a/admin/lang.php b/admin/lang.php index e1c8ae7d8b..ca9e9d6663 100644 --- a/admin/lang.php +++ b/admin/lang.php @@ -546,7 +546,7 @@ function lang_save_file($path, $file, $strings, $local, $packstrings) { } } } - fwrite($f,"\n\?\>\n"); + fwrite($f,"\n?>\n"); fclose($f); return true; }