summaryrefslogtreecommitdiff
path: root/core/controllers/album.php
diff options
context:
space:
mode:
Diffstat (limited to 'core/controllers/album.php')
-rw-r--r--core/controllers/album.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/controllers/album.php b/core/controllers/album.php
index 9c78dfca..2b1ad067 100644
--- a/core/controllers/album.php
+++ b/core/controllers/album.php
@@ -28,6 +28,7 @@ class Album_Controller extends Template_Controller {
$this->template->set_global('item', $item);
$this->template->set_global('children', $item->children());
+ $this->template->set_global('parents', $item->parents());
/** @todo: this needs to be data-driven */
$this->template->set_global('theme', new Theme("default", $this->template));