Skip to content
Snippets Groups Projects
Commit 5d9b7034 authored by Dries Buytaert's avatar Dries Buytaert
Browse files

- Patch #549432 by jromine: fixed editing of profile fields.

parent 34a8a369
Branches
Tags
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
......@@ -171,7 +171,7 @@ function theme_profile_admin_overview($form) {
* @see profile_field_form_submit()
*/
function profile_field_form(&$form_state, $arg = NULL) {
if (arg(3) == 'edit') {
if (arg(4) == 'edit') {
if (is_numeric($arg)) {
$fid = $arg;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment