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

(-)a/installer/data/mysql/updatedatabase.pl (-7 / +3 lines)
Lines 7081-7093 if ( CheckVersion($DBversion) ) { Link Here
7081
        UPDATE saved_sql SET savedsql = REPLACE(savedsql, 'wthdrawn', 'withdrawn')
7081
        UPDATE saved_sql SET savedsql = REPLACE(savedsql, 'wthdrawn', 'withdrawn')
7082
    });
7082
    });
7083
7083
7084
    print "Upgrade to $DBversion done (Bug 10550 - Fix database typo wthdrawn)\n";
7084
    $dbh->do(q{
7085
    SetVersion($DBversion);
7085
        UPDATE marc_subfield_structure SET kohafield = 'items.withdrawn' WHERE kohafield = 'items.wthdrawn'
7086
}
7086
    });
7087
7087
7088
$DBversion = "3.13.00.XXX";
7089
if ( CheckVersion($DBversion) ) {
7090
    $dbh->do("UPDATE marc_subfield_structure SET kohafield = 'items.withdrawn' WHERE kohafield = 'items.wthdrawn'");
7091
    print "Upgrade to $DBversion done (Bug 10550 - Fix database typo wthdrawn)\n";
7088
    print "Upgrade to $DBversion done (Bug 10550 - Fix database typo wthdrawn)\n";
7092
    SetVersion($DBversion);
7089
    SetVersion($DBversion);
7093
}
7090
}
7094
- 

Return to bug 10550