From a2a234a1e13d0db1c1410f5c51745b38f76db294 Mon Sep 17 00:00:00 2001 From: Ryan Higgins Date: Sat, 8 Dec 2007 17:32:22 -0600 Subject: [PATCH] Able to call haspermission w/o $dbh, and add error msg on deletemember. Signed-off-by: Joshua Ferraro --- members/deletemem.pl | 3 --- 1 file changed, 3 deletions(-) diff --git a/members/deletemem.pl b/members/deletemem.pl index a19fdc302d..e1f8a59e62 100755 --- a/members/deletemem.pl +++ b/members/deletemem.pl @@ -36,9 +36,6 @@ my $input = new CGI; my $flagsrequired; $flagsrequired->{borrowers}=1; -if( $bor->{'category_type'} eq 'S' ) { - $flagsrequired->{'staffaccess'} = 1; -} my ($loggedinuser, $cookie, $sessionID) = checkauth($input, 0, $flagsrequired); -- 2.39.5