aboutsummaryrefslogtreecommitdiffstats
path: root/admin/picture_modify.php
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--admin/picture_modify.php7
1 files changed, 1 insertions, 6 deletions
diff --git a/admin/picture_modify.php b/admin/picture_modify.php
index 557f97dad..a764f0bdb 100644
--- a/admin/picture_modify.php
+++ b/admin/picture_modify.php
@@ -259,15 +259,10 @@ if ($row['has_high'] == 'true')
}
// image level options
-$tpl_options = array();
-foreach ($conf['available_permission_levels'] as $level)
-{
- $tpl_options[$level] = l10n( sprintf('Level %d', $level) ).' ('.$level.')';
-}
$selected_level = isset($_POST['level']) ? $_POST['level'] : $row['level'];
$template->assign(
array(
- 'level_options'=> $tpl_options,
+ 'level_options'=> get_privacy_level_options(),
'level_options_selected' => array($selected_level)
)
);