Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 5c7bcc7

Browse files
committedApr 4, 2013
Reenable ability to clear default profile
Regression introduced by fe8e367 Fixes #15698
1 parent fe8e367 commit 5c7bcc7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎account_prof_update.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
$f_profile_id = gpc_get_int( 'profile_id' );
4141

4242
# Make sure user did select an existing profile from the list
43-
if( $f_profile_id == 0 ) {
43+
if( $f_action != 'make_default' && $f_profile_id == 0 ) {
4444
error_parameters( lang_get( 'select_profile' ) );
4545
trigger_error( ERROR_EMPTY_FIELD, ERROR );
4646
}

0 commit comments

Comments
 (0)
Please sign in to comment.