aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Mueller <thomas.mueller@tmit.eu>2013-02-11 15:49:49 +0100
committerThomas Mueller <thomas.mueller@tmit.eu>2013-02-11 15:49:49 +0100
commit7776d047b2fa90529ed2bf053e47ff66ddd4818d (patch)
treec54d5001ba5dacefe4868470afaf267c20a12052
parentf512dea3bed0f86a53766e321f8bc64545db1721 (diff)
downloadnextcloud-server-7776d047b2fa90529ed2bf053e47ff66ddd4818d.tar.gz
nextcloud-server-7776d047b2fa90529ed2bf053e47ff66ddd4818d.zip
[files_external] fix config gui for all users
backport of 9e05781ec22c3f4e6b89b188332242b03088736e
-rw-r--r--apps/files_external/templates/settings.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_external/templates/settings.php b/apps/files_external/templates/settings.php
index 78ca1c87fee..df8d7d6e2b5 100644
--- a/apps/files_external/templates/settings.php
+++ b/apps/files_external/templates/settings.php
@@ -83,7 +83,7 @@
<select class="chzn-select"
multiple style="width:20em;"
data-placeholder="<?php echo $l->t('None set'); ?>">
- <option value="all"><?php echo $l->t('All Users'); ?></option>
+ <option value="all" <?php if (isset($mount['applicable']['users']) && in_array('all', $mount['applicable']['users'])) echo 'selected="selected"';?> ><?php echo $l->t('All Users'); ?></option>
<optgroup label="<?php echo $l->t('Groups'); ?>">
<?php foreach ($_['groups'] as $group): ?>
<option value="<?php echo $group; ?>(group)"