summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Fowler <spider@viovio.com>2009-08-17 17:27:23 +0000
committerChristian Fowler <spider@viovio.com>2009-08-17 17:27:23 +0000
commita3f451127def461832e76c108fc05e36470bdbf7 (patch)
treece3c69933ca98f14f730ddbb03bbf8a344f12582
parentf1a5d4ac860196f530fb19f66f4134153a5f9d78 (diff)
downloadfisheye-a3f451127def461832e76c108fc05e36470bdbf7.tar.gz
fisheye-a3f451127def461832e76c108fc05e36470bdbf7.tar.bz2
fisheye-a3f451127def461832e76c108fc05e36470bdbf7.zip
check for size set in thumb url request
-rw-r--r--FisheyeImage.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/FisheyeImage.php b/FisheyeImage.php
index 624ca3d..29dfc6b 100644
--- a/FisheyeImage.php
+++ b/FisheyeImage.php
@@ -1,6 +1,6 @@
<?php
/**
- * @version $Header: /cvsroot/bitweaver/_bit_fisheye/FisheyeImage.php,v 1.108 2009/07/09 18:42:14 tylerbello Exp $
+ * @version $Header: /cvsroot/bitweaver/_bit_fisheye/FisheyeImage.php,v 1.109 2009/08/17 17:27:23 spiderr Exp $
* @package fisheye
*/
@@ -668,7 +668,7 @@ class FisheyeImage extends FisheyeBase {
$ret = NULL;
if( !empty( $pInfoHash ) ) {
// do some stuff if we are given a hash of stuff
- } else {
+ } elseif( isset( $this->mInfo['thumbnail_url'][$pSize] ) ) {
$ret = $this->mInfo['thumbnail_url'][$pSize];
}
return $ret;