diff options
Diffstat (limited to 'core/models')
-rw-r--r-- | core/models/item.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/models/item.php b/core/models/item.php index 5654b36f..ed82da52 100644 --- a/core/models/item.php +++ b/core/models/item.php @@ -110,6 +110,7 @@ class Item_Model extends ORM_MPTT { $original_thumb_path = $this->thumb_path(); parent::move_to($target, true); + $this->relative_path = null; rename($original_path, $this->file_path()); if ($this->is_album()) { |