summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2008-11-05 03:24:09 +0000
committerBharat Mediratta <bharat@menalto.com>2008-11-05 03:24:09 +0000
commit836874ba68a2314d18e70bdf1d8e37a48de9c877 (patch)
treea4999596e1339808660ad242433be4616ee2f8ea
parentef0bb33a9531a02c36c99f98b088e544bc6cbd52 (diff)
Updated for new MPTT API
-rw-r--r--core/controllers/album.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/controllers/album.php b/core/controllers/album.php
index b1c7d205..a00a5138 100644
--- a/core/controllers/album.php
+++ b/core/controllers/album.php
@@ -27,7 +27,7 @@ class Album_Controller extends Template_Controller {
}
$this->template->set_global('item', $item);
- $this->template->set_global('children', $item->get_children());
+ $this->template->set_global('children', $item->children());
$this->template->set_global('theme', new Theme("default", $this->template));
}
}