From 6bb75f623e6dbb58e873b5c7f3f2f3238abe99fd Mon Sep 17 00:00:00 2001 From: Bharat Mediratta Date: Sat, 18 Sep 2010 16:34:48 -0700 Subject: Fix a bug in that last commit where I was treating resource_type as a function. --- modules/g2_import/controllers/g2.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/g2_import') 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"; -- cgit v1.2.3