summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Kremmel <xing@synapse.plus.com>2008-06-23 21:56:13 +0000
committerMax Kremmel <xing@synapse.plus.com>2008-06-23 21:56:13 +0000
commit00ae28e790bafeeb7f8d0c586c5db6b74cf96aeb (patch)
treee0d7fe3a86956e9c0fa4863eecfa73ca91077481
parent0f70bce07ce7704dabb4d162730c3e7a23cb3469 (diff)
downloadpigeonholes-00ae28e790bafeeb7f8d0c586c5db6b74cf96aeb.tar.gz
pigeonholes-00ae28e790bafeeb7f8d0c586c5db6b74cf96aeb.tar.bz2
pigeonholes-00ae28e790bafeeb7f8d0c586c5db6b74cf96aeb.zip
replace individual function parameters with an array of options when using liberty thumbnail fetching functions
-rw-r--r--Pigeonholes.php9
1 files changed, 6 insertions, 3 deletions
diff --git a/Pigeonholes.php b/Pigeonholes.php
index 4a75242..40b6ebf 100644
--- a/Pigeonholes.php
+++ b/Pigeonholes.php
@@ -1,6 +1,6 @@
<?php
/**
- * @version $Header: /cvsroot/bitweaver/_bit_pigeonholes/Pigeonholes.php,v 1.125 2008/06/13 13:48:29 squareing Exp $
+ * @version $Header: /cvsroot/bitweaver/_bit_pigeonholes/Pigeonholes.php,v 1.126 2008/06/23 21:56:13 squareing Exp $
*
* +----------------------------------------------------------------------+
* | Copyright ( c ) 2004, bitweaver.org
@@ -17,7 +17,7 @@
* Pigeonholes class
*
* @author xing <xing@synapse.plus.com>
- * @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;
}
}