]> git.mjollnir.org Git - moodle.git/commitdiff
The script used to fwrite \?\> instead of ?>. Fixes MDL-8129.
authormudrd8mz <mudrd8mz>
Mon, 15 Jan 2007 11:40:26 +0000 (11:40 +0000)
committermudrd8mz <mudrd8mz>
Mon, 15 Jan 2007 11:40:26 +0000 (11:40 +0000)
This was introduced in 1.80 by moodler. Don't know why but it caused an PHP critical
syntax error.

admin/lang.php

index e1c8ae7d8be5cf2a13054e749f60ac5c582ac851..ca9e9d666325604033138fd27f11f91f7a43ce8e 100644 (file)
@@ -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;
 }