diff options
Diffstat (limited to 'core/models/item.php')
-rw-r--r-- | core/models/item.php | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/core/models/item.php b/core/models/item.php index 265a9219..5ab3935c 100644 --- a/core/models/item.php +++ b/core/models/item.php @@ -35,10 +35,8 @@ class Item_Model extends ORM_MPTT { $paths[] = $parent->name; } } + $paths[] = $this->name; $path = implode($paths, "/"); - if (!$this->saved) { - $path .= $this->name; - } if ($tag) { $pi = pathinfo($path); |