From 1587273344666d5fdea982393acd0c567a31aa2e Mon Sep 17 00:00:00 2001 From: erickson Date: Tue, 8 Aug 2006 21:29:14 +0000 Subject: [PATCH] added deleted check to dup username search git-svn-id: svn://svn.open-ils.org/ILS/trunk@5381 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/src/perlmods/OpenILS/Application/Actor.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Open-ILS/src/perlmods/OpenILS/Application/Actor.pm b/Open-ILS/src/perlmods/OpenILS/Application/Actor.pm index 9b80360fd2..9377c9d882 100644 --- a/Open-ILS/src/perlmods/OpenILS/Application/Actor.pm +++ b/Open-ILS/src/perlmods/OpenILS/Application/Actor.pm @@ -2347,7 +2347,7 @@ sub usrname_exists { my( $self, $conn, $auth, $usrname ) = @_; my $e = new_editor(authtoken=>$auth); return $e->event unless $e->checkauth; - my $a = $e->search_actor_user({usrname => $usrname}, {idlist=>1}); + my $a = $e->search_actor_user({usrname => $usrname, deleted=>'f'}, {idlist=>1}); return $$a[0] if $a and @$a; return 0; } -- 2.11.0