diff options
author | Nathan Kinkade <nath@nkinka.de> | 2013-05-24 12:12:57 +0000 |
---|---|---|
committer | Nathan Kinkade <nath@nkinka.de> | 2013-05-24 12:12:57 +0000 |
commit | 9569b43035de9645e82271896e302c8d082d960a (patch) | |
tree | 4dffbc9117e84d5fb9cf0a5806bf51ff2086ee95 /modules/g2_import/helpers/g2_import.php | |
parent | 3908e37d965fa76ea774e76ddf42365a872a5f27 (diff) | |
parent | b7177cfb2dcfb8b057a15757943c5e733d6c8917 (diff) |
Merge branch 'master' of git://github.com/gallery/gallery3
Diffstat (limited to 'modules/g2_import/helpers/g2_import.php')
-rw-r--r-- | modules/g2_import/helpers/g2_import.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/g2_import/helpers/g2_import.php b/modules/g2_import/helpers/g2_import.php index b155a88a..82850e85 100644 --- a/modules/g2_import/helpers/g2_import.php +++ b/modules/g2_import/helpers/g2_import.php @@ -498,7 +498,7 @@ class g2_import_Core { $album->description = self::_decode_html_special_chars(self::extract_description($g2_album)); $album->owner_id = self::map($g2_album->getOwnerId()); try { - $album->view_count = (int) g2(GalleryCoreApi::fetchItemViewCount($g2_album_id)); + $album->view_count = (int) g2(GalleryCoreApi::fetchItemViewCount($g2_album->getId())); } catch (Exception $e) { // @todo log $album->view_count = 0; |