summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/g2_import/controllers/g2.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/g2_import/controllers/g2.php b/modules/g2_import/controllers/g2.php
index 1c07c729..c529c147 100644
--- a/modules/g2_import/controllers/g2.php
+++ b/modules/g2_import/controllers/g2.php
@@ -62,7 +62,7 @@ class G2_Controller extends Controller {
if (!$item->loaded()) {
throw new Kohana_404_Exception();
}
- $resource_type = $g2_map->resource_type();
+ $resource_type = $g2_map->resource_type;
} else {
$item = item::root();
$resource_type = "album";