Skip to content
This repository was archived by the owner on Oct 29, 2020. It is now read-only.

Commit 945a13b

Browse files
committed
Updates variable name to validate address.
Fixes #5435
1 parent ef62285 commit 945a13b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/modules/dosomething/dosomething_user/dosomething_user.module

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,7 @@ function dosomething_user_form_alter(&$form, $form_state, $form_id) {
288288
}
289289

290290
$form['#after_build'][] = 'dosomething_user_remove_extra_values_from_address_field';
291-
if ($is_validate_address_set) {
291+
if ($validate_address) {
292292
$form['#after_build'][] = 'dosomething_user_add_validation_attributes_to_address_fields';
293293
}
294294

0 commit comments

Comments
 (0)