Skip to content
Snippets Groups Projects
Commit a0c920ba authored by Gábor Hojtsy's avatar Gábor Hojtsy
Browse files

#140377 by tostinni: provide a default weight to new profile fields, so they...

#140377 by tostinni: provide a default weight to new profile fields, so they will not be saved with -5
parent 5e48ed60
No related branches found
No related tags found
No related merge requests found
......@@ -251,7 +251,7 @@ function profile_field_form(&$form_state, $arg = NULL) {
'category' => '',
'title' => '',
'explanation' => '',
'weight' => '',
'weight' => 0,
'page' => '',
'autocomplete' => '',
'required' => '',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment