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

(-)a/installer/data/mysql/atomicupdate/bug_30624_add_userflag.pl (-2 / +1 lines)
Lines 13-19 return { Link Here
13
        my $IndependentBranches = C4::Context->preference('IndependentBranches');
13
        my $IndependentBranches = C4::Context->preference('IndependentBranches');
14
        unless ( $IndependentBranches ) {
14
        unless ( $IndependentBranches ) {
15
            $dbh->do(q{
15
            $dbh->do(q{
16
                UPDATE borrowers SET flags = flags + (1<<29) WHERE flags & 4;
16
                UPDATE borrowers SET flags = flags + (1<<29) WHERE ( flags & 4 AND !(flags & 1<<29) ) ;
17
           });
17
           });
18
        }
18
        }
19
    },
19
    },
20
- 

Return to bug 30624