diff options
Diffstat (limited to 'core/helpers/album.php')
-rw-r--r-- | core/helpers/album.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/helpers/album.php b/core/helpers/album.php index 620d5f14..c75095be 100644 --- a/core/helpers/album.php +++ b/core/helpers/album.php @@ -45,6 +45,7 @@ class album_Core { $album->owner_id = $owner_id; $album->thumb_dirty = 1; $album->resize_dirty = 1; + $album->rand_key = ((float)mt_rand()) / (float)mt_getrandmax(); while (ORM::factory("item") ->where("parent_id", $parent->id) |