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

(-)a/installer/data/mysql/updatedatabase.pl (-2 / +1 lines)
Lines 18217-18223 if( CheckVersion( $DBversion ) ) { Link Here
18217
    |);
18217
    |);
18218
    if( $OpacNavRight ){
18218
    if( $OpacNavRight ){
18219
        # If there is a value in the OpacNavRight preference, insert it into opac_news
18219
        # If there is a value in the OpacNavRight preference, insert it into opac_news
18220
        $dbh->do("INSERT INTO opac_news (branchcode, lang, title, content ) VALUES (NULL, 'OpacNavRight_$langs[0]', '', '$OpacNavRight')");
18220
        $dbh->do("INSERT INTO opac_news (branchcode, lang, title, content ) VALUES (NULL, ?, '', ?)", undef, "OpacNavRight_$langs[0]", $OpacNavRight);
18221
    }
18221
    }
18222
    # Remove the OpacNavRight system preference
18222
    # Remove the OpacNavRight system preference
18223
    $dbh->do("DELETE FROM systempreferences WHERE variable='OpacNavRight'");
18223
    $dbh->do("DELETE FROM systempreferences WHERE variable='OpacNavRight'");
18224
- 

Return to bug 23093