summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
Diffstat (limited to 'core')
-rw-r--r--core/controllers/album.php2
-rw-r--r--core/controllers/photo.php2
-rw-r--r--core/controllers/rest.php2
3 files changed, 3 insertions, 3 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;
}
}
diff --git a/core/controllers/photo.php b/core/controllers/photo.php
index 4c3154bd..2a0153a2 100644
--- a/core/controllers/photo.php
+++ b/core/controllers/photo.php
@@ -42,6 +42,6 @@ class Photo_Controller extends Item_Controller {
$template->set_global('user', Session::instance()->get('user', null));
$template->content = new View("photo.html");
- print $template->render();
+ print $template;
}
}
diff --git a/core/controllers/rest.php b/core/controllers/rest.php
index 4a6c4eb4..aee4f527 100644
--- a/core/controllers/rest.php
+++ b/core/controllers/rest.php
@@ -72,7 +72,7 @@ abstract class REST_Controller extends Controller {
if (Session::instance()->get("use_profiler", false)) {
$profiler = new Profiler();
- print $profiler->render();
+ $profiler->render();
}
return;
}