From 48a1d97f4697cf57a9a12aad9d1d3db49f5f3b62 Mon Sep 17 00:00:00 2001 From: Roland Haeder Date: Sat, 25 Mar 2017 13:30:12 +0100 Subject: [PATCH] closed internal TODO, added parentheses as this is a minimized if/else block Signed-off-by: Roland Haeder --- util/po2php.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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); -- 2.39.5