]> git.mxchange.org Git - friendica.git/commitdiff
closed internal TODO, added parentheses as this is a minimized if/else block
authorRoland Haeder <roland@mxchange.org>
Sat, 25 Mar 2017 12:30:12 +0000 (13:30 +0100)
committerRoland Haeder <roland@mxchange.org>
Sat, 25 Mar 2017 12:30:12 +0000 (13:30 +0100)
Signed-off-by: Roland Haeder <roland@mxchange.org>
util/po2php.php

index 34142c66911efdb48d7c6ae5af50bfbd8729fbbb..75442406a1a54d80c14734258f18f4dd8f64540e 100644 (file)
@@ -110,8 +110,7 @@ function po2php_run(&$argv, &$argc) {
                                $out .= '"' . $v . '"';
                        }
                        if ($k != "") {
-                               /// @TODO Maybe add parentheses here?
-                               $out .= $arr ? ");\n" : ";\n";
+                               $out .= ($arr) ? ");\n" : ";\n";
                        }
                        $arr = false;
                        $k = str_replace("msgid ", "", $l);