Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

MINOR Don't add closing PHP tags in i18nTextCollector->writeMasterStr…

…ingFile() (thanks Fred Condo)

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@115097 467b73ca-7a2a-4603-9d3b-597d59a354a9
  • Loading branch information...
commit e8c8c9472a59445a06dfe226d5ab963f3f8d570f 1 parent 6dc1448
@chillu chillu authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  core/i18nTextCollector.php
View
2  core/i18nTextCollector.php
@@ -400,7 +400,7 @@ protected function writeMasterStringFile($entitiesByModule) {
user_error('i18nTextCollector->writeMasterStringFile(): Invalid PHP language file. Error: ' . $e->toString(), E_USER_ERROR);
}
- fwrite($fh, "<"."?php{$eol}{$eol}global \$lang;{$eol}{$eol}" . $php . "{$eol}?".">");
+ fwrite($fh, "<"."?php{$eol}{$eol}global \$lang;{$eol}{$eol}" . $php . "{$eol}");
fclose($fh);
//Debug::message("Created file: $langFolder/" . $this->defaultLocale . ".php", false);
Please sign in to comment.
Something went wrong with that request. Please try again.