summaryrefslogtreecommitdiff
path: root/modules/gallery/helpers/item.php
diff options
context:
space:
mode:
Diffstat (limited to 'modules/gallery/helpers/item.php')
-rw-r--r--modules/gallery/helpers/item.php1
1 files changed, 0 insertions, 1 deletions
diff --git a/modules/gallery/helpers/item.php b/modules/gallery/helpers/item.php
index 8098d1cd..eb528f8f 100644
--- a/modules/gallery/helpers/item.php
+++ b/modules/gallery/helpers/item.php
@@ -186,7 +186,6 @@ class item_Core {
// that we chose the smallest number in the system, choose the item with the smallest number.
// This approach works best when the random numbers in the system are roughly evenly
// distributed so this is going to be more efficient with larger data sets.
- $random = 0.0;
$items = ORM::factory("item")
->viewable()
->where("rand_key", "<", $random)