diff options
Diffstat (limited to 'core/controllers/welcome.php')
-rw-r--r-- | core/controllers/welcome.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/core/controllers/welcome.php b/core/controllers/welcome.php index b83ea40d..b3a12952 100644 --- a/core/controllers/welcome.php +++ b/core/controllers/welcome.php @@ -37,6 +37,8 @@ class Welcome_Controller extends Template_Controller { $this->template->photo_count = ORM::factory("item")->where("type", "photo")->count_all(); $this->template->deepest_photo = ORM::factory("item") ->where("type", "photo")->orderby("level", "desc")->find(); + $this->template->deepest_album = ORM::factory("item") + ->where("type", "album")->orderby("level", "desc")->find(); $this->template->album_tree = $this->_load_album_tree(); $this->template->add_photo_html = $this->_get_add_photo_html(); } catch (Exception $e) { |