diff options
author | Bharat Mediratta <bharat@menalto.com> | 2008-11-16 19:12:01 +0000 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2008-11-16 19:12:01 +0000 |
commit | 5d14531af936a9ab2887fac9d1f056a1d712b051 (patch) | |
tree | dae9122156ba8f1f4f577b6412f7b4cf559aab2b /core/controllers/album.php | |
parent | bcb2230a6b081d17978f18458e6db756a3dbd6e1 (diff) |
Drop the call to render() and just use the View's __toString method to
print it out.
Diffstat (limited to 'core/controllers/album.php')
-rw-r--r-- | core/controllers/album.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/controllers/album.php b/core/controllers/album.php index 87e27ac5..1701e283 100644 --- a/core/controllers/album.php +++ b/core/controllers/album.php @@ -47,6 +47,6 @@ class Album_Controller extends Item_Controller { $template->set_global('user', Session::instance()->get('user', null)); $template->content = new View("album.html"); - print $template->render(); + print $template; } } |