We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 74bf933 commit 3eda9b4Copy full SHA for 3eda9b4
main/inc/lib/extra_field.lib.php
@@ -851,7 +851,7 @@ public function addElements(
851
}
852
853
// 2) If this is the special extra field on a user form, add uniqueness validation
854
- if ($this->type === 'user') {
+ if ($this->type === 'user' && !empty($uniqueField) && $name === $uniqueField) {
855
$this->applyExtraFieldUniquenessRule(
856
$form,
857
$name,
0 commit comments