aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/views.php
diff options
context:
space:
mode:
authorSteve Clay <steve@mrclay.org>2012-11-14 21:54:13 -0500
committerSteve Clay <steve@mrclay.org>2012-11-14 22:14:55 -0500
commit4f9fb7df0dabfa470e1f7045428c5e47a6ce3919 (patch)
tree8f5e64d83e05584c076ad1b431d032738f1702a9 /engine/lib/views.php
parent3048db0f3f1ade31d6f3a2cdd3268e978a3e3cf3 (diff)
downloadelgg-4f9fb7df0dabfa470e1f7045428c5e47a6ce3919.tar.gz
elgg-4f9fb7df0dabfa470e1f7045428c5e47a6ce3919.tar.bz2
Style cleanup
Diffstat (limited to 'engine/lib/views.php')
-rw-r--r--engine/lib/views.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/engine/lib/views.php b/engine/lib/views.php
index e43c29cb2..8a0642c2b 100644
--- a/engine/lib/views.php
+++ b/engine/lib/views.php
@@ -1403,6 +1403,7 @@ function elgg_view_access_collections($owner_guid) {
*/
function set_template_handler($function_name) {
global $CONFIG;
+
if (is_callable($function_name)) {
$CONFIG->template_handler = $function_name;
return true;