diff options
Diffstat (limited to 'modules/gallery/helpers/photo.php')
| -rw-r--r-- | modules/gallery/helpers/photo.php | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/modules/gallery/helpers/photo.php b/modules/gallery/helpers/photo.php index a4bc853b..e8a4f357 100644 --- a/modules/gallery/helpers/photo.php +++ b/modules/gallery/helpers/photo.php @@ -81,7 +81,7 @@ class photo_Core {      $photo->rand_key = ((float)mt_rand()) / (float)mt_getrandmax();      // Randomize the name if there's a conflict -    while (ORM::Factory("item") +    while (ORM::factory("item")             ->where("parent_id", $parent->id)             ->where("name", $photo->name)             ->find()->id) { | 
