Changeset 185 for trunk/DNSDB.pm


Ignore:
Timestamp:
12/06/11 13:00:11 (12 years ago)
Author:
Kris Deugau
Message:

/trunk

Fix isParent() to return correct results for checks where the
checked parent is not the immediate parent of the checked child.
This triggered a UI glitch where the group tree was not properly
expanded to the current group if a sub-sub-sub group of the
login group was set as the current group.

Clean up stale comments in fill_grptree

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/DNSDB.pm

    r175 r185  
    15201520##fixme: do we care about trying to return a "no such record/domain/user/group" error?
    15211521      warn $dbh->errstr." $sql, $id" if $dbh->errstr;
    1522       last;
    15231522    }
    15241523    # group 1 is its own parent.  need this here more to break strange loops than for detecting a parent
Note: See TracChangeset for help on using the changeset viewer.