View | Details | Raw Unified | Return to bug 13602
Collapse All | Expand All

(-)a/members/memberentry.pl (-3 / +4 lines)
Lines 328-335 if ($op eq 'save' || $op eq 'insert'){ Link Here
328
      }
328
      }
329
    }
329
    }
330
  }
330
  }
331
  # Check if the userid is unique
331
  # Check if the userid is unique. Userid might not always be present in the edited values list when editing certain sub-forms, so we need to dig for it a bit.
332
  unless (Check_Userid($newdata{'userid'},$borrowernumber)) {
332
  my $userid = $newdata{'userid'};
333
  $userid = $borrower_data->{userid} unless $userid; #Get the userid straight from the DB
334
  unless (Check_Userid($userid,$borrowernumber)) {
333
    push @errors, "ERROR_login_exist";
335
    push @errors, "ERROR_login_exist";
334
  }
336
  }
335
  
337
  
336
- 

Return to bug 13602