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.
This commit is contained in:
mudrd8mz 2007-01-15 11:40:26 +00:00
parent f024bea279
commit de4214a592

View 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;
}