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

(-)a/installer/data/mysql/updatedatabase.pl (-2 / +1 lines)
Lines 21960-21966 if( CheckVersion( $DBversion ) ) { Link Here
21960
        foreach my $lang ( @langs ) {
21960
        foreach my $lang ( @langs ) {
21961
            # If there is a value in the OpacMainUserBlock preference, insert it into opac_news
21961
            # If there is a value in the OpacMainUserBlock preference, insert it into opac_news
21962
            $dbh->do("INSERT INTO opac_news (branchcode, lang, title, content ) VALUES (NULL, ?, '', ?)", undef, "OpacMainUserBlock_$lang", $opacmainuserblock);
21962
            $dbh->do("INSERT INTO opac_news (branchcode, lang, title, content ) VALUES (NULL, ?, '', ?)", undef, "OpacMainUserBlock_$lang", $opacmainuserblock);
21963
            push @detail, "Inserting OpacMainUserBlock contents into $lang news item...\n";
21963
            push @detail, "Inserting OpacMainUserBlock contents into $lang news item...";
21964
        }
21964
        }
21965
    }
21965
    }
21966
    # Remove the OpacMainUserBlock system preference
21966
    # Remove the OpacMainUserBlock system preference
21967
- 

Return to bug 23794