summaryrefslogtreecommitdiff
path: root/admin_trees_download.php
diff options
context:
space:
mode:
Diffstat (limited to 'admin_trees_download.php')
-rw-r--r--admin_trees_download.php26
1 files changed, 13 insertions, 13 deletions
diff --git a/admin_trees_download.php b/admin_trees_download.php
index 06acdfe152..815ff57043 100644
--- a/admin_trees_download.php
+++ b/admin_trees_download.php
@@ -37,19 +37,19 @@ $privatize_export = Filter::get('privatize_export', 'none|visitor|user|gedadmin'
if ($action === 'download') {
switch ($privatize_export) {
- default:
- case 'gedadmin':
- $access_level = Auth::PRIV_NONE;
- break;
- case 'user':
- $access_level = Auth::PRIV_USER;
- break;
- case 'visitor':
- $access_level = Auth::PRIV_PRIVATE;
- break;
- case 'none':
- $access_level = Auth::PRIV_HIDE;
- break;
+ default:
+ case 'gedadmin':
+ $access_level = Auth::PRIV_NONE;
+ break;
+ case 'user':
+ $access_level = Auth::PRIV_USER;
+ break;
+ case 'visitor':
+ $access_level = Auth::PRIV_PRIVATE;
+ break;
+ case 'none':
+ $access_level = Auth::PRIV_HIDE;
+ break;
}
$exportOptions = [