@@ -, +, @@ borrower attributes and messaging preferences --- members/memberentry.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- a/members/memberentry.pl +++ a/members/memberentry.pl @@ -328,8 +328,8 @@ if ($op eq 'save' || $op eq 'insert'){ } } } - # Check if the userid is unique - unless (Check_Userid($newdata{'userid'},$borrowernumber)) { + # Check if the userid is unique. userid is not passed if we are modifying the messaging preferences or borrower attributes. + if (($op ne 'modify' && $op ne 'save') && not(Check_Userid($newdata{'userid'},$borrowernumber))) { push @errors, "ERROR_login_exist"; } --