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

(-)a/opac/opac-main.pl (-5 / +1 lines)
Lines 67-76 my $news_id = $input->param('news_id'); Link Here
67
my @all_koha_news;
67
my @all_koha_news;
68
68
69
if (defined $news_id){
69
if (defined $news_id){
70
    @all_koha_news = Koha::News->search({
70
    @all_koha_news = Koha::News->search({ idnew => $news_id });
71
        idnew => $news_id,
72
        lang  => $news_lang,
73
    });
74
    if (scalar @all_koha_news > 0){
71
    if (scalar @all_koha_news > 0){
75
        $template->param( news_item => @all_koha_news );
72
        $template->param( news_item => @all_koha_news );
76
    } else {
73
    } else {
77
- 

Return to bug 14272