Skip to content

Commit

Permalink
added missing preference (email_bugnote_limit) if email disabled
Browse files Browse the repository at this point in the history
git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@2859 f5dc347c-c33d-0410-90a0-b07cc1902cb9
  • Loading branch information
thraxisp committed Aug 17, 2004
1 parent 3bffaec commit 70dc378
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions account_prefs_inc.php
Expand Up @@ -6,7 +6,7 @@
# See the README and LICENSE files for details

# --------------------------------------------------------
# $Id: account_prefs_inc.php,v 1.29 2004-08-12 22:56:47 vboctor Exp $
# $Id: account_prefs_inc.php,v 1.30 2004-08-17 12:08:37 thraxisp Exp $
# --------------------------------------------------------

$t_core_path = config_get( 'core_path' );
Expand All @@ -32,9 +32,9 @@ function edit_account_prefs($p_user_id = null, $p_error_if_protected = true, $p_
}
}

if ( ! user_pref_exists( $p_user_id ) ) {
if ( ! user_pref_exists( $p_user_id ) ) {
user_pref_set_default( $p_user_id );
}
}

# prefix data with u_
$t_pref = user_pref_get( $p_user_id );
Expand Down Expand Up @@ -273,6 +273,7 @@ function edit_account_prefs($p_user_id = null, $p_error_if_protected = true, $p_
<input type="hidden" name="email_on_bugnote_minimum_severity" value="<?php echo $t_pref->email_on_bugnote_minimum_severity ?>" />
<input type="hidden" name="email_on_status_minimum_severity" value="<?php echo $t_pref->email_on_status_minimum_severity ?>" />
<input type="hidden" name="email_on_priority_minimum_severity" value="<?php echo $t_pref->email_on_priority_minimum_severity ?>" />
<input type="hidden" name="email_bugnote_limit" value="<?php echo $t_pref->email_bugnote_limit ?>" />
<?php } ?>
<tr class="row-2">
<td class="category">
Expand Down

0 comments on commit 70dc378

Please sign in to comment.