mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-08-01 20:50:38 -04:00
Fix a bug in that last commit where I was treating resource_type as a function.
This commit is contained in:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user