Browse Source

closed internal TODO, added parentheses as this is a minimized if/else block

Signed-off-by: Roland Haeder <roland@mxchange.org>
pull/3254/head
Roland Haeder 4 years ago
parent
commit
48a1d97f46
No known key found for this signature in database GPG Key ID: B72F8185C6C7BD78
1 changed files with 1 additions and 2 deletions
  1. +1
    -2
      util/po2php.php

+ 1
- 2
util/po2php.php View 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);


Loading…
Cancel
Save