]> gitweb.fluxo.info Git - lorea/elgg.git/commitdiff
forgot one small change due to tp_list_entities changing parameters
authorCash Costello <cash.costello@gmail.com>
Sun, 13 Dec 2009 02:04:33 +0000 (02:04 +0000)
committerCash Costello <cash.costello@gmail.com>
Sun, 13 Dec 2009 02:04:33 +0000 (02:04 +0000)
lib/tidypics.php

index f2a1ccce491b82fd6164fb23b4e712d01e0887ee..086885a897ed2921321c139a61073e3e7fa416b2 100644 (file)
@@ -33,7 +33,7 @@
        function tp_get_latest_photos($num_images, $owner_guid = 0)
        {
                $prev_context = set_context('front');
-               $image_html = tp_list_entities('object', 'image', $owner_guid, 0, $num_images, false, false, false);  
+               $image_html = tp_list_entities('object', 'image', $owner_guid, null, $num_images, false, false, false);  
                set_context($prev_context);
                return $image_html;
        }