diff --git a/docs/en/programmers/plugins/plugins-block-functions.xml b/docs/en/programmers/plugins/plugins-block-functions.xml index 317d759b..673314ff 100644 --- a/docs/en/programmers/plugins/plugins-block-functions.xml +++ b/docs/en/programmers/plugins/plugins-block-functions.xml @@ -7,6 +7,7 @@ array $params mixed $content object &$smarty + boolean &$repeat @@ -80,7 +81,7 @@ * Purpose: translate a block of text * ------------------------------------------------------------- */ -function smarty_block_translate($params, $content, &$smarty) +function smarty_block_translate($params, $content, &$smarty, &$repeat) { if (isset($content)) { $lang = $params['lang'];