diff options
Diffstat (limited to 'core/controllers/photo.php')
-rw-r--r-- | core/controllers/photo.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/controllers/photo.php b/core/controllers/photo.php index b56c29b9..78287afa 100644 --- a/core/controllers/photo.php +++ b/core/controllers/photo.php @@ -29,6 +29,7 @@ class Photo_Controller extends Item_Controller { $template->set_global('children', $item->children()); $template->set_global('parents', $item->parents()); $template->set_global('theme', $theme); + $template->set_global('user', Session::instance()->get('user', null)); $template->content = new View("photo.html"); print $template->render(); |