diff options
Diffstat (limited to 'core/helpers/photo.php')
-rw-r--r-- | core/helpers/photo.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/helpers/photo.php b/core/helpers/photo.php index e796ef03..dfa67e2b 100644 --- a/core/helpers/photo.php +++ b/core/helpers/photo.php @@ -54,7 +54,7 @@ class Photo_Core { $photo->add_to_parent($parent_id); - copy($filename, $photo->path()); + copy($filename, $photo->file_path()); /** @todo: parameterize these values */ $image = Image::factory($filename); |