]> git.mxchange.org Git - friendica.git/blobdiff - src/Core/Console/PoToPhp.php
Merge pull request #5295 from MrPetovan/task/4889-move-config-to-config
[friendica.git] / src / Core / Console / PoToPhp.php
index 62ff24bd5553a20ee4a8525182faa689c1b64f95..e97e1ff3d9cfedd31751f4e1b29ba8e522e0a535 100644 (file)
@@ -94,6 +94,7 @@ HELP;
                                $fnname = 'string_plural_select_' . $lang;
                                $out .= 'if(! function_exists("' . $fnname . '")) {' . "\n";
                                $out .= 'function ' . $fnname . '($n){' . "\n";
+                               $out .= '       $n = intval($n);' . "\n";
                                $out .= '       return ' . $cond . ';' . "\n";
                                $out .= '}}' . "\n";
                        }