@@ -162,7 +162,7 @@ |
||
| 162 | 162 | } |
| 163 | 163 | |
| 164 | 164 | [$is_current_item, $is_parent] = $this->get_current_item($row); |
| 165 | - $this_depth = $this->get_parental_depth($row) + 1; |
|
| 165 | + $this_depth = $this->get_parental_depth($row) + 1; |
|
| 166 | 166 | $leaf = $this->get_leaf_node($row, $is_current_item, $is_parent); |
| 167 | 167 | |
| 168 | 168 | $this->parental_depth[$row[$this->pk]] = $this_depth; |