r56669 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r56668‎ | r56669 | r56670 >
Date:12:51, 20 September 2009
Author:avar
Status:deferred (Comments)
Tags:
Comment:
fixed syntax error: php interpolates {} in strings
Modified paths:
  • /trunk/extensions/Translate/FFS.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Translate/FFS.php
@@ -554,7 +554,7 @@
555555
556556 $cmd = "perl -MYAML::Syck=LoadFile -MPHP::Serialization=serialize -E '" .
557557 "my \$yaml = LoadFile(\"$tf\");" .
558 - "open my \$fh, q[>], q[$tf.serialized] or die qq[Can not open q{$tf.serialized}];" .
 558+ "open my \$fh, q[>], q[$tf.serialized] or die qq[Can not open $tf.serialized];" .
559559 "say $fh serialize(\$yaml);" .
560560 "close(\$fh);'";
561561 $ret = shell_exec($cmd);

Comments

#Comment by NK45 (talk | contribs)   17:18, 21 September 2009

Think.

Status & tagging log