thinko ... use the responder, which has the session, not the method pointer
[Evergreen.git] / Open-ILS / src / perlmods / OpenILS / Application / Storage / Publisher / metabib.pm
index b89e1f5..c490b7b 100644 (file)
@@ -2385,7 +2385,7 @@ sub staged_fts {
 
     if (!defined($args{preferred_language})) {
         $args{preferred_language} =
 
     if (!defined($args{preferred_language})) {
         $args{preferred_language} =
-            $locale_map{ $self->session->session_locale || $default_preferred_language } || 'eng';
+            $locale_map{ $client->session->session_locale || $default_preferred_language } || 'eng';
     }
 
     if (!defined($args{preferred_language_weight})) {
     }
 
     if (!defined($args{preferred_language_weight})) {