summaryrefslogtreecommitdiffstats
path: root/settings
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@owncloud.com>2014-02-19 12:15:33 +0100
committerArthur Schiwon <blizzz@owncloud.com>2014-06-02 12:53:52 +0200
commitbf88bd108e5acc9257428f7ff6d727f157b58450 (patch)
tree4bdbbfe9a31b293ee032c92a0002a791a1a1fa05 /settings
parent1734cc09fd0575b05e7e894b82f01b2ab3df7359 (diff)
downloadnextcloud-server-bf88bd108e5acc9257428f7ff6d727f157b58450.tar.gz
nextcloud-server-bf88bd108e5acc9257428f7ff6d727f157b58450.zip
do not show 0 when administered group has no users
Diffstat (limited to 'settings')
-rw-r--r--settings/templates/users.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/settings/templates/users.php b/settings/templates/users.php
index ac87cad9d81..699af21efef 100644
--- a/settings/templates/users.php
+++ b/settings/templates/users.php
@@ -34,7 +34,7 @@ $_['subadmingroups'] = array_flip($items);
<li>
<a href="#"><?php p($l->t('Admins')); ?></a>
<span class="utils">
- <span class="usercount"><?php p(count($adminGroup['useringroup'])); ?></span>
+ <span class="usercount"><?php if(count($adminGroup['useringroup']) > 0) { p(count($adminGroup['useringroup'])); } ?></span>
</span>
</li>
<?php endforeach; ?>