From 00ae28e790bafeeb7f8d0c586c5db6b74cf96aeb Mon Sep 17 00:00:00 2001 From: Max Kremmel Date: Mon, 23 Jun 2008 21:56:13 +0000 Subject: replace individual function parameters with an array of options when using liberty thumbnail fetching functions --- Pigeonholes.php | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'Pigeonholes.php') diff --git a/Pigeonholes.php b/Pigeonholes.php index 4a75242..40b6ebf 100644 --- a/Pigeonholes.php +++ b/Pigeonholes.php @@ -1,6 +1,6 @@ - * @version $Revision: 1.125 $ + * @version $Revision: 1.126 $ * @package pigeonholes */ @@ -200,7 +200,10 @@ class Pigeonholes extends LibertyMime { $aux['display_url'] = $type['content_object']->getDisplayUrl( NULL, $aux ); $aux['display_link'] = $type['content_object']->getDisplayLink( $aux['title'], $aux ); $aux['title'] = $type['content_object']->getTitle( $aux ); - $aux['thumbnail_url'] = liberty_fetch_thumbnails( $aux['storage_path'], NULL, NULL, FALSE ); + $aux['thumbnail_url'] = liberty_fetch_thumbnails( array( + 'storage_path' => $aux['storage_path'], + 'mime_image' => FALSE + )); $ret[] = $aux; } } -- cgit v1.3