Fix PoToPhp
https://github.com/friendica/friendica/pull/5072#issuecomment-389754406
This commit is contained in:
parent
2a9d364bb7
commit
f980516545
|
@ -94,6 +94,7 @@ HELP;
|
||||||
$fnname = 'string_plural_select_' . $lang;
|
$fnname = 'string_plural_select_' . $lang;
|
||||||
$out .= 'if(! function_exists("' . $fnname . '")) {' . "\n";
|
$out .= 'if(! function_exists("' . $fnname . '")) {' . "\n";
|
||||||
$out .= 'function ' . $fnname . '($n){' . "\n";
|
$out .= 'function ' . $fnname . '($n){' . "\n";
|
||||||
|
$out .= ' $n = intval($n);' . "\n";
|
||||||
$out .= ' return ' . $cond . ';' . "\n";
|
$out .= ' return ' . $cond . ';' . "\n";
|
||||||
$out .= '}}' . "\n";
|
$out .= '}}' . "\n";
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue