diff options
Diffstat (limited to 'templates/show_preferences.inc.php')
-rw-r--r-- | templates/show_preferences.inc.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/templates/show_preferences.inc.php b/templates/show_preferences.inc.php index 0ecc4984..81b2c06e 100644 --- a/templates/show_preferences.inc.php +++ b/templates/show_preferences.inc.php @@ -35,7 +35,9 @@ if ($_REQUEST['tab'] != 'account' && $_REQUEST['tab'] != 'modules') { <input class="button" type="submit" value="<?php echo _('Update Preferences'); ?>" /> <input type="hidden" name="tab" value="<?php echo scrub_out($_REQUEST['tab']); ?>" /> <input type="hidden" name="method" value="<?php echo scrub_out($_REQUEST['action']); ?>" /> - <input class="button" type="submit" name="action" value="<?php echo _("Cancel"); ?>" /> + <?php if ($GLOBALS['user']->has_access('100')) { ?> + <input type="hidden" name="user_id" value="<?php echo scrub_out($_REQUEST['user_id']); ?>" /> + <?php } ?> <?php } // end if not account if ($_REQUEST['tab'] == 'account') { |