[Koha-patches] [PATCH] (bug #3064) fill the child patron fields
Nahuel ANGELINETTI
nahuel.angelinetti at biblibre.com
Thu Mar 26 15:20:54 CET 2009
this patch fix, an older patch that make the fields are not more filled in if you add a child.
---
members/memberentry.pl | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/members/memberentry.pl b/members/memberentry.pl
index b3582f3..87c871c 100755
--- a/members/memberentry.pl
+++ b/members/memberentry.pl
@@ -305,7 +305,7 @@ if ($delete){
if ($nok or !$nodouble){
$op="add" if ($op eq "insert");
$op="modify" if ($op eq "save");
- %data=%newdata;
+ %data=%newdata if $nok;
$template->param( updtype => ($op eq 'add' ?'I':'M')); # used to check for $op eq "insert"... but we just changed $op!
unless ($step){
$template->param( step_1 => 1,step_2 => 1,step_3 => 1, step_4 => 1);
@@ -416,7 +416,7 @@ my $borrotitlepopup = CGI::popup_menu(-name=>'title',
-default=>$default_borrowertitle
);
-my @relationships = split /,|\|/, C4::Context->preference('BorrowerRelationship');
+my @relationships = split (/,|\|/), C4::Context->preference('BorrowerRelationship');
my @relshipdata;
while (@relationships) {
my $relship = shift @relationships || '';
--
1.5.6.3
More information about the Koha-patches
mailing list