]> git.mxchange.org Git - friendica.git/blobdiff - util/po2php.php
Issue 3326: We are now completely working with utf8mb4
[friendica.git] / 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);