[Koha-cvs] koha/C4 Koha.pm [dev_week]

Ryan Higgins rch at liblime.com
Sat Apr 21 19:45:55 CEST 2007


CVSROOT:	/sources/koha
Module name:	koha
Branch:		dev_week
Changes by:	Ryan Higgins <rych>	07/04/21 17:45:55

Modified files:
	C4             : Koha.pm 

Log message:
	fix typo on last commit

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/koha/C4/Koha.pm?cvsroot=koha&only_with_tag=dev_week&r1=1.22.2.4.2.12&r2=1.22.2.4.2.13

Patches:
Index: Koha.pm
===================================================================
RCS file: /sources/koha/koha/C4/Koha.pm,v
retrieving revision 1.22.2.4.2.12
retrieving revision 1.22.2.4.2.13
diff -u -b -r1.22.2.4.2.12 -r1.22.2.4.2.13
--- Koha.pm	20 Apr 2007 14:01:32 -0000	1.22.2.4.2.12
+++ Koha.pm	21 Apr 2007 17:45:54 -0000	1.22.2.4.2.13
@@ -606,7 +606,7 @@
 }
 sub getbranch ($$) {
     my($query, $branches) = @_; # get branch for this query from branches
-    my $branch = $query->param('branch') || $branch = $query->cookie('branch');
+    my $branch = $query->param('branch') || $query->cookie('branch');
 	if ( ( ! $branch) && C4::Context->userenv() ) {
         $branch = C4::Context->userenv->{'branch'} ;
     }





More information about the Koha-cvs mailing list