From: Henri-Damien LAURENT <henridamien.laur...@biblibre.com>

---
 members/member.pl |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/members/member.pl b/members/member.pl
index 2be45bc..724c996 100755
--- a/members/member.pl
+++ b/members/member.pl
@@ -115,6 +115,12 @@ if ($results) {
        }
     $count = scalar(@$results);
 }
+
+if($count == 1){
+    print 
$input->redirect("/cgi-bin/koha/members/moremember.pl?borrowernumber=" . 
@$results[0]->{borrowernumber});
+    exit;
+}
+
 my @resultsdata;
 $to=($count>$to?$to:$count);
 my $index=$from;
-- 
1.7.3

_______________________________________________
Koha-patches mailing list
Koha-patches@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-patches
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to