Skip to content

Commit ea5de8d

Browse files
authored
Merge pull request #527 from Hanashi/fix/capture
fix usage of template plugin `capture`
2 parents cc27de4 + faeb4eb commit ea5de8d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/view/template-plugins.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ In some situations, `assign` is not sufficient to assign values to variables in
9494
Instead, `capture` can be used:
9595

9696
```smarty
97-
{capture var=templateVariable}
97+
{capture assign=templateVariable}
9898
{if $foo}
9999
<p>{$bar}</p>
100100
{else}

0 commit comments

Comments
 (0)