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

(-)a/installer/data/mysql/updatedatabase.pl (-2 / +1 lines)
Lines 19919-19925 if ( CheckVersion($DBversion) ) { Link Here
19919
    # Populating debit_type_code
19919
    # Populating debit_type_code
19920
    $dbh->do(
19920
    $dbh->do(
19921
        qq{
19921
        qq{
19922
        UPDATE accountlines SET debit_type_code = accounttype, accounttype = NULL WHERE accounttype IN (SELECT code from account_debit_types)
19922
        UPDATE accountlines SET debit_type_code = accounttype, accounttype = NULL WHERE accounttype IN (SELECT code from account_debit_types) AND amount >= 0
19923
        }
19923
        }
19924
    );
19924
    );
19925
19925
19926
- 

Return to bug 24532