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

(-)a/installer/data/mysql/atomicupdate/bug_29509.pl (-2 / +1 lines)
Lines 9-15 return { Link Here
9
        my ( $dbh, $out ) = @$args{qw(dbh out)};
9
        my ( $dbh, $out ) = @$args{qw(dbh out)};
10
10
11
        # Users to exclude from update, (superlibrarians or borrowers flags)
11
        # Users to exclude from update, (superlibrarians or borrowers flags)
12
        my $sth = $dbh->prepare("SELECT borrowernumber FROM borrowers WHERE flags = 1 OR (flags & 4) > 0");
12
        my $sth = $dbh->prepare("SELECT borrowernumber FROM borrowers WHERE flags = 1 OR flags & (1<<4)");
13
        $sth->execute();
13
        $sth->execute();
14
        my @exclusions = map { $_->[0] } @{ $sth->fetchall_arrayref };
14
        my @exclusions = map { $_->[0] } @{ $sth->fetchall_arrayref };
15
15
16
- 

Return to bug 29509