From: Roland Haeder Date: Sat, 25 Mar 2017 12:30:12 +0000 (+0100) Subject: closed internal TODO, added parentheses as this is a minimized if/else block X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=48a1d97f4697cf57a9a12aad9d1d3db49f5f3b62;p=friendica.git closed internal TODO, added parentheses as this is a minimized if/else block Signed-off-by: Roland Haeder --- diff --git a/util/po2php.php b/util/po2php.php index 34142c6691..75442406a1 100644 --- a/util/po2php.php +++ b/util/po2php.php @@ -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);