[Koha-patches] [PATCH 53/55] Set Status : setting debarred to NULL

Henri-Damien LAURENT henridamien.laurent at biblibre.com
Wed Mar 10 22:26:35 CET 2010


Signed-off-by: Henri-Damien LAURENT <henridamien.laurent at biblibre.com>
---
 members/setstatus.pl |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/members/setstatus.pl b/members/setstatus.pl
index bf7b96d..58b84f4 100755
--- a/members/setstatus.pl
+++ b/members/setstatus.pl
@@ -43,6 +43,7 @@ my $borrowernumber=$input->param('borrowernumber');
 my $status = $input->param('status');
 my $reregistration = $input->param('reregistration') || '';
 
+undef $status unless ($status);
 my $dbh = C4::Context->dbh;
 my $dateexpiry;
 
-- 
1.6.3.3




More information about the Koha-patches mailing list