Changeset 730 for trunk


Ignore:
Timestamp:
06/20/16 18:13:29 (8 years ago)
Author:
Kris Deugau
Message:

/trunk

Fix buglet in user list; RPC users were not being excluded from the
count in getUserCount() to match getUserList()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/DNSDB.pm

    r723 r730  
    34393439        "WHERE group_id IN ($args{curgroup}".($args{childlist} ? ",$args{childlist}" : '').")".
    34403440        ($args{startwith} ? " AND username ~* ?" : '').
    3441         ($args{filter} ? " AND username ~* ?" : '');
     3441        ($args{filter} ? " AND username ~* ?" : '').
     3442        " AND NOT type = 'R' ";
    34423443  my ($count) = $dbh->selectrow_array($sql, undef, (@filterargs) );
    34433444  $errstr = $dbh->errstr if !$count;
Note: See TracChangeset for help on using the changeset viewer.