https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18946

Karam Qubsi <karamqu...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |karamqu...@gmail.com

--- Comment #1 from Karam Qubsi <karamqu...@gmail.com> ---
Hi , 

Instead of using /cgi-bin/koha/opac-changelanguage.pl?language=en

You may try :/cgi-bin/koha/opac-main.pl?language=en


it look like opac-changelanguage.pl always assuming that you are on the same
domain , there should be further tests to handle that 

perhaps something like this : 

my $domain = C4::Context->preference("OPACBaseURL");
my $url      = $query->referer() || '/';
if ($query->referer() !~ /$domain/ ) {
$url = $domain  ;
}

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to