Bug Fixing : Modifying a patron would not show his information
authorHenri-Damien LAURENT <henridamien.laurent@biblibre.com>
Wed, 11 Feb 2009 15:53:10 +0000 (16:53 +0100)
committerHenri-Damien LAURENT <henridamien.laurent@biblibre.com>
Wed, 11 Feb 2009 15:53:10 +0000 (16:53 +0100)
koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tmpl
members/memberentry.pl

index 902fc39..41100bc 100644 (file)
@@ -73,14 +73,13 @@ $.tablesorter.addParser({
 <!-- TMPL_IF NAME="borrowernumber" --><div class="yui-b">
 <!-- TMPL_INCLUDE NAME="circ-menu.inc" -->
 </div>
-<!-- /TMPL_UNLESS -->
+<!-- /TMPL_IF -->
        <div id="yui-main">
        <div class="yui-b">
 <!-- /TMPL_IF -->
 
 <!-- TMPL_IF NAME="borrowernumber" -->
 <!-- TMPL_INCLUDE NAME="circ-toolbar.inc" -->
-<!-- /TMPL_IF -->
 
 <!--  INITIAL BLOC : PARAMETERS & BORROWER INFO -->
 <!-- TMPL_IF NAME="dateexpiry" --><div class="dialog message">Patron's account has been renewed until <!-- TMPL_VAR NAME="dateexpiry" --></div><!-- /TMPL_IF -->
@@ -238,6 +237,7 @@ No patron matched <span class="ex"><!-- TMPL_VAR name="message" --></span>
 </h4>
 <!-- /TMPL_IF -->
 
+<!-- /TMPL_IF --><!--/borrowernumber-->
 
 <!-- TMPL_IF NAME="CGIselectborrower" -->
 <!-- TMPL_INCLUDE NAME="patron-toolbar.inc" -->
index 7b88eca..d4619f7 100755 (executable)
@@ -69,7 +69,7 @@ my $destination    = $input->param('destination');
 my $cardnumber     = $input->param('cardnumber');
 my $check_member   = $input->param('check_member');
 my $name_city      = $input->param('name_city');
-my $nodouble       = $input->param('nodouble');
+my $nodouble       = $input->param('nodouble')||$op eq 'modify';
 my $select_city    = $input->param('select_city');
 my $nok            = $input->param('nok');
 my $guarantorinfo  = $input->param('guarantorinfo');