summaryrefslogtreecommitdiffstats
path: root/zoom.php
diff options
context:
space:
mode:
authorJohan Cwiklinski <johan@x-tnd.be>2012-09-29 10:23:09 +0200
committerRemi Collet <fedora@famillecollet.com>2012-09-29 10:30:40 +0200
commit5e3a1a62043cc4602f5fc4fb871d09da65b5a277 (patch)
tree6cf5eeb2270f3ff3107a094b172e61e131656fd9 /zoom.php
parent44bc0673599b56977f97370976d92f5d05ca720e (diff)
Some adaptations required for Smarty3
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');