aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorCash Costello <cash.costello@gmail.com>2009-12-13 02:04:33 +0000
committerCash Costello <cash.costello@gmail.com>2009-12-13 02:04:33 +0000
commit304760f02fbef19a9fdadd5d01f22ea77e6459cd (patch)
tree84bfcfd80300242614d1db8d3480ff3f748f630e /lib
parentdd8ff039f642b9eb6ea65cc1a58017ce867ec7b3 (diff)
downloadelgg-304760f02fbef19a9fdadd5d01f22ea77e6459cd.tar.gz
elgg-304760f02fbef19a9fdadd5d01f22ea77e6459cd.tar.bz2
forgot one small change due to tp_list_entities changing parameters
Diffstat (limited to 'lib')
-rw-r--r--lib/tidypics.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/tidypics.php b/lib/tidypics.php
index f2a1ccce4..086885a89 100644
--- a/lib/tidypics.php
+++ b/lib/tidypics.php
@@ -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;
}