summaryrefslogtreecommitdiffstats
path: root/zoom.php
diff options
context:
space:
mode:
Diffstat (limited to 'zoom.php')
-rw-r--r--zoom.php6
1 files changed, 5 insertions, 1 deletions
diff --git a/zoom.php b/zoom.php
index 979cea9..dedd3fa 100644
--- a/zoom.php
+++ b/zoom.php
@@ -89,7 +89,11 @@ function getBranchPeople($params)
}
return $ret;
}
-$smarty->register_function('getBranchPeople', 'getBranchPeople');
+$smarty->registerPlugin(
+ 'function',
+ 'getBranchPeople',
+ 'getBranchPeople'
+);
if ( !isset($name) || !$name ) {
$smarty->assign('error', 'missing_name');