[Koha-cvs] CVS: koha/circ selectbranchprinter.pl,1.11,1.12
Steve Tonnesen
tonnesen at users.sourceforge.net
Mon May 5 22:57:59 CEST 2003
Update of /cvsroot/koha/koha/circ
In directory sc8-pr-cvs1:/tmp/cvs-serv23445
Modified Files:
selectbranchprinter.pl
Log Message:
Script was not setting cookies for branch and printer.
Index: selectbranchprinter.pl
===================================================================
RCS file: /cvsroot/koha/koha/circ/selectbranchprinter.pl,v
retrieving revision 1.11
retrieving revision 1.12
diff -C2 -r1.11 -r1.12
*** selectbranchprinter.pl 4 Apr 2003 08:44:39 -0000 1.11
--- selectbranchprinter.pl 5 May 2003 20:57:56 -0000 1.12
***************
*** 133,137 ****
);
! output_html_with_http_headers $query, $cookie, $template->output;
--- 133,141 ----
);
! my $branchcookie=$query->cookie(-name => 'branch', -value => "$branch", -expires => '+1y');
! my $printercookie=$query->cookie(-name => 'printer', -value => "$printer", -expires => '+1y');
!
! my $cookies=[$cookie,$branchcookie, $printercookie];
! output_html_with_http_headers $query, $cookies, $template->output;
More information about the Koha-cvs
mailing list