diff options
author | kondou <kondou@ts.unde.re> | 2013-04-17 15:32:03 +0200 |
---|---|---|
committer | kondou <kondou@ts.unde.re> | 2013-07-21 13:55:25 +0200 |
commit | 05084e03a08206b736abd04522e10c97cd3f2fc3 (patch) | |
tree | 1352f5011a523db520ee0e899db8426ecc3fc68f /settings/templates/users.php | |
parent | 94fcbc736e3500e0107d8e4f1ce5a2133fcdd8d8 (diff) | |
download | nextcloud-server-05084e03a08206b736abd04522e10c97cd3f2fc3.tar.gz nextcloud-server-05084e03a08206b736abd04522e10c97cd3f2fc3.zip |
Use !== and === in settings.
Diffstat (limited to 'settings/templates/users.php')
-rw-r--r-- | settings/templates/users.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/settings/templates/users.php b/settings/templates/users.php index 9fcc11ab89a..4ddef3ff1b5 100644 --- a/settings/templates/users.php +++ b/settings/templates/users.php @@ -43,12 +43,12 @@ $_['subadmingroups'] = array_flip($items); <?php if((bool) $_['isadmin']): ?> <select class='quota'> <option - <?php if($_['default_quota']=='none') print_unescaped('selected="selected"');?> + <?php if($_['default_quota'] === 'none') print_unescaped('selected="selected"');?> value='none'> <?php p($l->t('Unlimited'));?> </option> <?php foreach($_['quota_preset'] as $preset):?> - <?php if($preset!='default'):?> + <?php if($preset !== 'default'):?> <option <?php if($_['default_quota']==$preset) print_unescaped('selected="selected"');?> value='<?php p($preset);?>'> @@ -132,12 +132,12 @@ $_['subadmingroups'] = array_flip($items); <td class="quota"> <select class='quota-user'> <option - <?php if($user['quota']=='default') print_unescaped('selected="selected"');?> + <?php if($user['quota'] === 'default') print_unescaped('selected="selected"');?> value='default'> <?php p($l->t('Default'));?> </option> <option - <?php if($user['quota']=='none') print_unescaped('selected="selected"');?> + <?php if($user['quota'] === 'none') print_unescaped('selected="selected"');?> value='none'> <?php p($l->t('Unlimited'));?> </option> |