summaryrefslogtreecommitdiffstats
path: root/settings/templates
diff options
context:
space:
mode:
authorGeorg Ehrke <dev@georgswebsite.de>2012-07-19 18:00:33 +0200
committerGeorg Ehrke <dev@georgswebsite.de>2012-07-19 18:00:33 +0200
commit6cf418f2fae60dd5f7d3dd1cf77977f6faa0dfcb (patch)
treed77d4358748801a8d42063817cc742083945ee7d /settings/templates
parent05bc541276192c9f1bbe82ea9989872d5f25f49c (diff)
downloadnextcloud-server-6cf418f2fae60dd5f7d3dd1cf77977f6faa0dfcb.tar.gz
nextcloud-server-6cf418f2fae60dd5f7d3dd1cf77977f6faa0dfcb.zip
fix copy&paste fail and deny subadmins to set the default qouta
Diffstat (limited to 'settings/templates')
-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 649fce107db..9f246423d20 100644
--- a/settings/templates/users.php
+++ b/settings/templates/users.php
@@ -32,7 +32,7 @@ $_['subadmingroups'] = array_flip($items);
<div class="quota">
<span><?php echo $l->t('Default Quota');?>:</span>
<div class="quota-select-wrapper">
- <select class='quota'>
+ <select class='quota' <?php if(!(is_array($_['subadmins']) || $_['subadmins'])) echo 'disabled="disabled"'; ?>>
<?php foreach($_['quota_preset'] as $preset):?>
<?php if($preset!='default'):?>
<option