From ea04385bc16de6b7b65aab75c5c33cfe2d71ea84 Mon Sep 17 00:00:00 2001 From: querwurzelt Date: Sun, 20 Jan 2019 22:19:33 +0100 Subject: PHP 7.3 compat, bug fixes --- data/templates/default/sidebar.block.popular.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'data/templates/default/sidebar.block.popular.php') diff --git a/data/templates/default/sidebar.block.popular.php b/data/templates/default/sidebar.block.popular.php index 842aa60..83ad2fb 100644 --- a/data/templates/default/sidebar.block.popular.php +++ b/data/templates/default/sidebar.block.popular.php @@ -31,7 +31,7 @@ if ($popularTags && count($popularTags) > 0) { } foreach ($popularTags as $row) { - $entries = T_ngettext('bookmark', 'bookmarks', $row['bCount']); + $entries = T_ngettext('bookmark', 'bookmarks', (int)$row['bCount']); $contents .= ' '; } echo $contents ."\n"; -- cgit v1.2.3-54-g00ecf