[Koha-cvs] koha/tools koha-news.pl [rel_3_0]
Ryan Higgins
rch at liblime.com
Sun Mar 4 23:49:14 CET 2007
CVSROOT: /sources/koha
Module name: koha
Branch: rel_3_0
Changes by: Ryan Higgins <rych> 07/03/04 22:49:14
Modified files:
tools : koha-news.pl
Log message:
fix datatype error
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/koha/tools/koha-news.pl?cvsroot=koha&only_with_tag=rel_3_0&r1=1.1.2.7&r2=1.1.2.8
Patches:
Index: koha-news.pl
===================================================================
RCS file: /sources/koha/koha/tools/koha-news.pl,v
retrieving revision 1.1.2.7
retrieving revision 1.1.2.8
diff -u -b -r1.1.2.7 -r1.1.2.8
--- koha-news.pl 20 Feb 2007 06:23:33 -0000 1.1.2.7
+++ koha-news.pl 4 Mar 2007 22:49:14 -0000 1.1.2.8
@@ -29,6 +29,7 @@
use C4::Output;
use C4::Interface::CGI::Output;
use C4::NewsChannels;
+use C4::Languages;
use Date::Calc qw/Date_to_Days Today/;
my $cgi = new CGI;
@@ -55,8 +56,8 @@
# get lang list
my @lang_list;
-
-foreach my $language ( getTranslatedLanguages() ) {
+my $tlangs = getTranslatedLanguages() ;
+foreach my $language ( @$tlangs ) {
push @lang_list,
{
language => $language->{'language_code'},
More information about the Koha-cvs
mailing list