Changeset 3602
- Timestamp:
- 01/23/08 17:27:36 (18 months ago)
- Files:
-
- 1 modified
-
branches/0.10/lib/Doctrine/Node/NestedSet.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/0.10/lib/Doctrine/Node/NestedSet.php
r2967 r3602 303 303 $path = array(); 304 304 $ancestors = $this->getAncestors(); 305 foreach ($ancestors as $ancestor) { 306 $path[] = $ancestor->__toString(); 305 if ($ancestors) { 306 foreach ($ancestors as $ancestor) { 307 $path[] = $ancestor->__toString(); 308 } 307 309 } 308 310 if ($includeRecord) {