diff options
author | Tim Almdal <tnalmdal@shaw.ca> | 2009-02-08 02:21:28 +0000 |
---|---|---|
committer | Tim Almdal <tnalmdal@shaw.ca> | 2009-02-08 02:21:28 +0000 |
commit | 1fc2307faba7f280e9251de54504122a1dcb187e (patch) | |
tree | 3354dbca31ed92b50f0894deefe5154a0d0c7484 /core/models | |
parent | 7ebbe189d4a6955532fb17f4cb9466115279ca35 (diff) |
rollback r20001-r19998, r19995. This may require a reinstall
Diffstat (limited to 'core/models')
-rw-r--r-- | core/models/item.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/models/item.php b/core/models/item.php index 7086625f..e29f3245 100644 --- a/core/models/item.php +++ b/core/models/item.php @@ -215,10 +215,10 @@ class Item_Model extends ORM_MPTT { if (empty($this->relative_path)) { foreach ($this->parents() as $parent) { if ($parent->id > 1) { - $paths[] = $parent->path; + $paths[] = $parent->name; } } - $paths[] = $this->path; + $paths[] = $this->name; $this->relative_path = implode($paths, "/"); } return $this->relative_path; |