diff options
Diffstat (limited to 'core/helpers')
-rw-r--r-- | core/helpers/album.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/helpers/album.php b/core/helpers/album.php index 83bbfbab..9373c5d5 100644 --- a/core/helpers/album.php +++ b/core/helpers/album.php @@ -40,7 +40,7 @@ class album_Core { $album->name = $name; $album->owner_id = $owner_id; - while (ORM::Factory("item") + while (ORM::factory("item") ->where("parent_id", $parent_id) ->where("name", $album->name) ->find()->id) { |