aboutsummaryrefslogtreecommitdiffstats
path: root/mod/directory.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2015-02-03 15:50:12 -0800
committerfriendica <info@friendica.com>2015-02-03 15:50:12 -0800
commitc417a43338087de82bd1c067c479320a923fe619 (patch)
treeb88102888585cca5e3d70960d3b855358df6f476 /mod/directory.php
parent36b756e4cde4f45993a1941eb6b8a71bb348c6e4 (diff)
downloadvolse-hubzilla-c417a43338087de82bd1c067c479320a923fe619.tar.gz
volse-hubzilla-c417a43338087de82bd1c067c479320a923fe619.tar.bz2
volse-hubzilla-c417a43338087de82bd1c067c479320a923fe619.zip
styling for the directory page when it comes to ratings
Diffstat (limited to 'mod/directory.php')
-rw-r--r--mod/directory.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/mod/directory.php b/mod/directory.php
index 7f9283ba4..d9316ef67 100644
--- a/mod/directory.php
+++ b/mod/directory.php
@@ -192,6 +192,8 @@ function directory_content(&$a) {
if($rr['total_ratings'])
$total_ratings = sprintf( tt("%d rating", "%d ratings", $rr['total_ratings']), $rr['total_ratings']);
+ else
+ $total_ratings = '';
$profile = $rr;