diff options
-rw-r--r-- | lib/tidypics.php | 2 |
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; } |