Skip to content

Commit

Permalink
The script used to fwrite \?\> instead of ?>. Fixes MDL-8129.
Browse files Browse the repository at this point in the history
This was introduced in 1.80 by moodler. Don't know why but it caused an PHP critical
syntax error.
  • Loading branch information
mudrd8mz committed Jan 15, 2007
1 parent f024bea commit de4214a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion admin/lang.php
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -546,7 +546,7 @@ function lang_save_file($path, $file, $strings, $local, $packstrings) {
} }
} }
} }
fwrite($f,"\n\?\>\n"); fwrite($f,"\n?>\n");
fclose($f); fclose($f);
return true; return true;
} }
Expand Down

0 comments on commit de4214a

Please sign in to comment.