Commit a0c920ba authored by Gábor Hojtsy's avatar Gábor Hojtsy

#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
......@@ -251,7 +251,7 @@ function profile_field_form(&$form_state, $arg = NULL) {
'category' => '',
'title' => '',
'explanation' => '',
'weight' => '',
'weight' => 0,
'page' => '',
'autocomplete' => '',
'required' => '',
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment