Changeset 3601
- Timestamp:
- 01/23/08 17:26:47 (18 months ago)
- Files:
-
- 1 modified
-
branches/0.9/lib/Doctrine/Node/NestedSet.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/0.9/lib/Doctrine/Node/NestedSet.php
r2967 r3601 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) {