]> gitweb.fluxo.info Git - lorea/elgg.git/commitdiff
forgot to link up the new widget with the latest elgg bug work around
authorCash Costello <cash.costello@gmail.com>
Sun, 23 Aug 2009 22:19:47 +0000 (22:19 +0000)
committerCash Costello <cash.costello@gmail.com>
Sun, 23 Aug 2009 22:19:47 +0000 (22:19 +0000)
lib/tidypics.php
views/default/widgets/latest/view.php

index 9a3a82af7322db67acbee942c7d342b4b382c4b4..e9b3ad46d1d43aa5315e363f90e62ec6cde62a8c 100644 (file)
@@ -33,7 +33,7 @@
        function tp_get_latest_photos($num_images, $owner_guid = 0)\r
        {\r
                $prev_context = set_context('front');\r
-               $image_html = list_entities('object', 'image', $owner_guid, $num_images, false, false, false);  \r
+               $image_html = tp_list_entities('object', 'image', $owner_guid, $num_images, false, false, false);  \r
                set_context($prev_context);\r
                return $image_html;\r
        }\r
index 6d65e9dc1c1994a055c45a41cfe49ab39d91ba13..0c319390714a01ab29b35679fcb7ebb2a5adae17 100644 (file)
@@ -8,7 +8,7 @@
                $number = 6;
 
        echo '<div class="tidypics_widget_latest">';
-       echo tp_get_latest_photos($number);
+       echo tp_get_latest_photos($number, page_owner());
        echo '</div>';
 
 ?>