>From 113959d259750da82e988b419508e435c3acce0e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?S=C3=A9bastien=20Hinderer?= <[email protected]>
Date: Sat, 12 Dec 2009 22:13:05 +0100
Subject: [PATCH] opac/opac-main.pl: perl style fixup.
Content-Type: text/plain; charset="utf-8"
---
opac/opac-main.pl | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/opac/opac-main.pl b/opac/opac-main.pl
index f218a00..ca98cde 100755
--- a/opac/opac-main.pl
+++ b/opac/opac-main.pl
@@ -74,7 +74,7 @@ if($input->cookie('KohaOpacLanguage')){
}
if (not $news_lang) {
my @languages = split ",", C4::Context->preference("opaclanguages");
- $news_lang = @languages[0];
+ $news_lang = $languages[0];
}
}
--
1.6.5.3
_______________________________________________
Koha-patches mailing list
[email protected]
http://lists.koha.org/mailman/listinfo/koha-patches