]> gitweb.fluxo.info Git - lorea/elgg.git/commitdiff
increased number of image views possible
authorCash Costello <cash.costello@gmail.com>
Sat, 12 Dec 2009 03:48:17 +0000 (03:48 +0000)
committerCash Costello <cash.costello@gmail.com>
Sat, 12 Dec 2009 03:48:17 +0000 (03:48 +0000)
lib/image.php

index 34b0548983ca07b3e5bb2987e6cf8480d6661d8e..0c4049183f9190868d7a2fe0e7d69b07270bee9a 100644 (file)
@@ -95,7 +95,7 @@
                 */
                public function getViews($viewer_guid)
                {
-                       $views = get_annotations($this->getGUID(), "object", "image", "tp_view", "", 0, 9999);
+                       $views = get_annotations($this->getGUID(), "object", "image", "tp_view", "", 0, 99999);
                        if ($views) 
                        {
                                $total_views = count($views);