diff options
author | Johan Cwiklinski <johan@x-tnd.be> | 2012-09-29 10:23:09 +0200 |
---|---|---|
committer | Remi Collet <fedora@famillecollet.com> | 2012-09-29 10:30:40 +0200 |
commit | 5e3a1a62043cc4602f5fc4fb871d09da65b5a277 (patch) | |
tree | 6cf5eeb2270f3ff3107a094b172e61e131656fd9 /zoom.php | |
parent | 44bc0673599b56977f97370976d92f5d05ca720e (diff) |
Some adaptations required for Smarty3
Diffstat (limited to 'zoom.php')
-rw-r--r-- | zoom.php | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -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'); |