[Koha-cvs] CVS: koha/members moremember.pl,1.5.2.5,1.5.2.6
Paul POULAIN
tipaul at users.sourceforge.net
Wed Oct 5 12:11:48 CEST 2005
Update of /cvsroot/koha/koha/members
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18221/members
Modified Files:
Tag: rel_2_2
moremember.pl
Log Message:
fixing a bug : moving a test at a place where it works ;-)
Index: moremember.pl
===================================================================
RCS file: /cvsroot/koha/koha/members/moremember.pl,v
retrieving revision 1.5.2.5
retrieving revision 1.5.2.6
diff -C2 -r1.5.2.5 -r1.5.2.6
*** moremember.pl 26 Aug 2005 12:21:50 -0000 1.5.2.5
--- moremember.pl 5 Oct 2005 10:11:46 -0000 1.5.2.6
***************
*** 131,134 ****
--- 131,137 ----
$bor{'borrowernumber'}=$bornum;
+ #Independant branches management
+ my $unvalidlibrarian = ((C4::Context->preference("IndependantBranches")) && (C4::Context->userenv->{flags}!=1) && !($data->{'branchcode'} eq C4::Context->userenv->{branch}));
+
# Converts the branchcode to the branch name
$data->{'branchcode'} = &getbranchname($data->{'branchcode'});
***************
*** 191,197 ****
}
- #Independant branches management
- my $unvalidlibrarian = ((C4::Context->preference("IndependantBranches")) && (C4::Context->userenv->{flags}!=1) && !($data->{'branchcode'} eq C4::Context->userenv->{branch}));
-
$template->param($data);
$template->param(
--- 194,197 ----
More information about the Koha-cvs
mailing list