[Koha-cvs] koha/opac opac-suggestions.pl [dev_week]

Joshua Ferraro jmf at kados.org
Fri Aug 18 18:19:24 CEST 2006


CVSROOT:	/sources/koha
Module name:	koha
Branch:		dev_week
Changes by:	Joshua Ferraro <kados>	06/08/18 16:19:24

Modified files:
	opac           : opac-suggestions.pl 

Log message:
	add use C4::koha
	change $query to $input

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/koha/opac/opac-suggestions.pl?cvsroot=koha&only_with_tag=dev_week&r1=1.3.2.7.2.1&r2=1.3.2.7.2.2

Patches:
Index: opac-suggestions.pl
===================================================================
RCS file: /sources/koha/koha/opac/opac-suggestions.pl,v
retrieving revision 1.3.2.7.2.1
retrieving revision 1.3.2.7.2.2
diff -u -b -r1.3.2.7.2.1 -r1.3.2.7.2.2
--- opac-suggestions.pl	18 Aug 2006 16:14:15 -0000	1.3.2.7.2.1
+++ opac-suggestions.pl	18 Aug 2006 16:19:24 -0000	1.3.2.7.2.2
@@ -3,7 +3,7 @@
 require Exporter;
 use CGI;
 use HTML::Template;
-
+use C4::Koha;
 use C4::Auth;       # get_template_and_user
 use C4::Interface::CGI::Output;
 use C4::Suggestions;
@@ -53,7 +53,7 @@
 			 });
 
 	# load the languages
-	my @languages_options = displayLanguages($query);
+	my @languages_options = displayLanguages($input);
 	my $languages_count = @languages_options;
 	if($languages_count > 1){
         $template->param(languages => \@languages_options);





More information about the Koha-cvs mailing list