From 5d14531af936a9ab2887fac9d1f056a1d712b051 Mon Sep 17 00:00:00 2001 From: Bharat Mediratta Date: Sun, 16 Nov 2008 19:12:01 +0000 Subject: Drop the call to render() and just use the View's __toString method to print it out. --- core/controllers/album.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/controllers/album.php') 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; } } -- cgit v1.2.3