aboutsummaryrefslogtreecommitdiffstats
path: root/include/language.php
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2018-06-17 17:00:17 +0200
committerMario <mario@mariovavti.com>2018-06-17 17:00:17 +0200
commit28043726e64f750e646b42aa6f649e277fc3767e (patch)
tree18a41bea6a4805454e0b1a2dacdfeda451854690 /include/language.php
parent9c5df51141d68e50d3c1f5d3097160408debce48 (diff)
parent7e736c5359732647f5203bf2bb7fcd50c448fad9 (diff)
downloadvolse-hubzilla-28043726e64f750e646b42aa6f649e277fc3767e.tar.gz
volse-hubzilla-28043726e64f750e646b42aa6f649e277fc3767e.tar.bz2
volse-hubzilla-28043726e64f750e646b42aa6f649e277fc3767e.zip
Merge branch 'dev' of https://framagit.org/hubzilla/core into dev
Diffstat (limited to 'include/language.php')
-rw-r--r--include/language.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/language.php b/include/language.php
index d0ecd3a85..69a7e3004 100644
--- a/include/language.php
+++ b/include/language.php
@@ -242,7 +242,7 @@ function tt($singular, $plural, $count, $ctx = ''){
if (! function_exists($f))
$f = 'string_plural_select_default';
- $k = $f($count);
+ $k = $f(intval($count));
return is_array($t) ? $t[$k] : $t;
}