diff options
Diffstat (limited to 'includes/classes/FisheyeGallery.php')
| -rwxr-xr-x | includes/classes/FisheyeGallery.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/classes/FisheyeGallery.php b/includes/classes/FisheyeGallery.php index c321d99..1c89b34 100755 --- a/includes/classes/FisheyeGallery.php +++ b/includes/classes/FisheyeGallery.php @@ -187,7 +187,7 @@ class FisheyeGallery extends FisheyeBase { INNER JOIN `".BIT_DB_PREFIX."liberty_files` lf ON ( lf.`file_id`=la.`foreign_id` ) WHERE fgim.`gallery_content_id` = ? ORDER BY fgim.`item_position`, fi.`content_id` "; - if( $rows = $this->mDb->getAssoc($query, [ $this->mContentId ] ) ) { + if( $rows = $this->mDb->getAll($query, [ $this->mContentId ] ) ) { $tempImage = new FisheyeImage(); for( $i = 0; $i < count( $rows ); $i++ ) { if( $rows[$i]['image_id'] == $pCurrentImageId ) { |
