[Koha-cvs] koha/opac opac-main.pl [rel_3_0]

Ryan Higgins rch at liblime.com
Tue Feb 20 20:19:48 CET 2007


CVSROOT:	/sources/koha
Module name:	koha
Branch:		rel_3_0
Changes by:	Ryan Higgins <rych>	07/02/20 19:19:48

Modified files:
	opac           : opac-main.pl 

Log message:
	fix typo

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/koha/opac/opac-main.pl?cvsroot=koha&only_with_tag=rel_3_0&r1=1.23.2.11&r2=1.23.2.12

Patches:
Index: opac-main.pl
===================================================================
RCS file: /sources/koha/koha/opac/opac-main.pl,v
retrieving revision 1.23.2.11
retrieving revision 1.23.2.12
diff -u -b -r1.23.2.11 -r1.23.2.12
--- opac-main.pl	20 Feb 2007 06:21:18 -0000	1.23.2.11
+++ opac-main.pl	20 Feb 2007 19:19:48 -0000	1.23.2.12
@@ -15,7 +15,7 @@
 # Koha; if not, write to the Free Software Foundation, Inc., 59 Temple Place,
 # Suite 330, Boston, MA  02111-1307 USA
 
-# $Id: opac-main.pl,v 1.23.2.11 2007/02/20 06:21:18 kados Exp $
+# $Id: opac-main.pl,v 1.23.2.12 2007/02/20 19:19:48 rych Exp $
 
 use strict;
 require Exporter;
@@ -71,7 +71,8 @@
 my $borrower = GetMember( '', $borrowernumber );
 my @languages;
 my $counter = 0;
-foreach my $language ( getTranslatedLanguages('opac') ) {
+my $langavail = getTranslatedLanguages('opac');
+foreach my $language ( @$langavail ) {
     #   next if $currently_selected_languages->{$language};
 	#   FIXME: could incorporate language_name and language_locale_name for better display
     push @languages, { language => $language->{'language_code'}, counter => $counter };





More information about the Koha-cvs mailing list