From 1fc2307faba7f280e9251de54504122a1dcb187e Mon Sep 17 00:00:00 2001 From: Tim Almdal Date: Sun, 8 Feb 2009 02:21:28 +0000 Subject: rollback r20001-r19998, r19995. This may require a reinstall --- core/models/item.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'core/models') 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; -- cgit v1.2.3