[Koha-cvs] CVS: koha simpleredirect.pl,1.2,1.3

Ambrose Li acli at users.sourceforge.net
Sat Feb 8 22:49:58 CET 2003


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

Modified Files:
	simpleredirect.pl 
Log Message:
Added default case to catch illegal values resulting from over-translation


Index: simpleredirect.pl
===================================================================
RCS file: /cvsroot/koha/koha/simpleredirect.pl,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** simpleredirect.pl	14 Aug 2002 18:12:51 -0000	1.2
--- simpleredirect.pl	8 Feb 2003 21:49:55 -0000	1.3
***************
*** 4,9 ****
  #used by members section
  
  
! # Copyright 2000-2002 Katipo Communications
  #
  # This file is part of Koha.
--- 4,12 ----
  #used by members section
  
+ # Allows a single script to handle the addition of either an adult
+ # or a corporate member
  
! 
! # Copyright 2000-2003 Katipo Communications
  #
  # This file is part of Koha.
***************
*** 36,37 ****
--- 39,46 ----
    print $input->redirect("/cgi-bin/koha/imemberentry.pl?type=Add");
  }
+ 
+ print <<EOF;
+ Content-Type: text/plain
+ 
+ Internal error: Invalid chooseform parameter "$choice"
+ EOF





More information about the Koha-cvs mailing list