[Koha-cvs] CVS: koha shelves.pl,1.11,1.12

Ambrose Li acli at users.sourceforge.net
Wed Feb 5 11:04:18 CET 2003


Update of /cvsroot/koha/koha
In directory sc8-pr-cvs1:/tmp/cvs-serv20712

Modified Files:
	shelves.pl 
Log Message:
Worked around weirdness with HTML::Template; without the {}, it complains
of being passed an odd number of arguments even though we are not


Index: shelves.pl
===================================================================
RCS file: /cvsroot/koha/koha/shelves.pl,v
retrieving revision 1.11
retrieving revision 1.12
diff -C2 -r1.11 -r1.12
*** shelves.pl	5 Feb 2003 09:23:03 -0000	1.11
--- shelves.pl	5 Feb 2003 10:04:14 -0000	1.12
***************
*** 70,78 ****
  
  SWITCH: {
! 	$template->param(	loggedinuser => $loggedinuser,
! 									viewshelf => $query->param('viewshelf'),
! 									shelves => $query->param('shelves'),
! 									headerbackgroundcolor => $headerbackgroundcolor,
! 									circbackgroundcolor => $circbackgroundcolor);
      if ($query->param('viewshelf')) {  viewshelf($query->param('viewshelf')); last SWITCH;}
      if ($query->param('shelves')) {  shelves(); last SWITCH;}
--- 70,78 ----
  
  SWITCH: {
! 	$template->param({	loggedinuser => $loggedinuser,
! 						viewshelf => $query->param('viewshelf'),
! 						shelves => $query->param('shelves'),
! 						headerbackgroundcolor => $headerbackgroundcolor,
! 						circbackgroundcolor => $circbackgroundcolor });
      if ($query->param('viewshelf')) {  viewshelf($query->param('viewshelf')); last SWITCH;}
      if ($query->param('shelves')) {  shelves(); last SWITCH;}
***************
*** 159,162 ****
--- 159,166 ----
  #
  # $Log$
+ # Revision 1.12  2003/02/05 10:04:14  acli
+ # Worked around weirdness with HTML::Template; without the {}, it complains
+ # of being passed an odd number of arguments even though we are not
+ #
  # Revision 1.11  2003/02/05 09:23:03  acli
  # Fixed a few minor errors to make it run





More information about the Koha-cvs mailing list