Changeset 609 for trunk/lib/ACL.inc.php


Ignore:
Timestamp:
Aug 18, 2017 11:20:12 AM (7 years ago)
Author:
anonymous
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/ACL.inc.php

    r601 r609  
    381381        $num_deleted_nodes = mysql_affected_rows($db->getDBH());
    382382
    383         // Update transversal numbers for all nodes to the rgt of $parent, taking in to account the absence of it's children.
     383        // Update transversal numbers for all nodes to the rgt of $parent, taking into account the absence of its children.
    384384        $db->query("UPDATE $tbl SET lft = lft - ($rgt - $lft + 1) WHERE lft > $lft");
    385385        $db->query("UPDATE $tbl SET rgt = rgt - ($rgt - $lft + 1) WHERE rgt > $rgt");
Note: See TracChangeset for help on using the changeset viewer.