Skip to content

Commit 7659298

Browse files
committedApr 4, 2013
Reenable ability to clear default profile
Regression introduced by 7d1800e Fixes #15698
1 parent 7d1800e commit 7659298

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
@@ -64,7 +64,7 @@
6464
$f_profile_id = gpc_get_int( 'profile_id' );
6565

6666
# Make sure user did select an existing profile from the list
67-
if( $f_profile_id == 0 ) {
67+
if( $f_action != 'make_default' && $f_profile_id == 0 ) {
6868
error_parameters( lang_get( 'select_profile' ) );
6969
trigger_error( ERROR_EMPTY_FIELD, ERROR );
7070
}

0 commit comments

Comments
 (0)
Please sign in to comment.