diff options
author | Rasmus Lerdorf <rasmus@php.net> | 2013-05-05 08:42:48 -0700 |
---|---|---|
committer | Rasmus Lerdorf <rasmus@php.net> | 2013-05-05 08:42:48 -0700 |
commit | ce97f5ff264aa34e74a98bae3ff23678a1ddde75 (patch) | |
tree | 26167a363728c928ab0675b8c6472dc39fad683f /modules/g2_import/helpers | |
parent | 269927b27c7ea25193c4da29db17539eb3d92d50 (diff) |
There is no $g2_album_id here
I assume this should be $g2_album->getId() instead
Diffstat (limited to 'modules/g2_import/helpers')
-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; |