Skip to content

Commit

Permalink
Reenable ability to clear default profile
Browse files Browse the repository at this point in the history
Regression introduced by fe8e367

Fixes #15698
  • Loading branch information
dregad committed Apr 4, 2013
1 parent fe8e367 commit 5c7bcc7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion account_prof_update.php
Expand Up @@ -40,7 +40,7 @@
$f_profile_id = gpc_get_int( 'profile_id' );

# Make sure user did select an existing profile from the list
if( $f_profile_id == 0 ) {
if( $f_action != 'make_default' && $f_profile_id == 0 ) {
error_parameters( lang_get( 'select_profile' ) );
trigger_error( ERROR_EMPTY_FIELD, ERROR );
}
Expand Down

0 comments on commit 5c7bcc7

Please sign in to comment.