View | Details | Raw Unified | Return to bug 22544
Collapse All | Expand All

(-)a/Koha/News.pm (-2 / +1 lines)
Lines 78-84 sub search_for_display { Link Here
78
        } elsif ( $params->{lang} ) {
78
        } elsif ( $params->{lang} ) {
79
            $search_params->{lang} = $params->{location} . '_' . $params->{lang};
79
            $search_params->{lang} = $params->{location} . '_' . $params->{lang};
80
        } else {
80
        } else {
81
            Koha::Exceptions::BadParameter->throw("The location and lang parameters combination is not valid");
81
            Koha::Exceptions::BadParameter->throw("The location ($params->{location}) and lang ($params->{lang}) parameters combination is not valid");
82
        }
82
        }
83
    }
83
    }
84
84
85
- 

Return to bug 22544