Skip to content
Browse files

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.
  • Loading branch information...
1 parent f024bea commit de4214a592b043a85fbd44ad304a1842e024431d mudrd8mz committed Jan 15, 2007
Showing with 1 addition and 1 deletion.
  1. +1 −1 admin/lang.php
View
2 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;
}

0 comments on commit de4214a

Please sign in to comment.
Something went wrong with that request. Please try again.