Skip to content
This repository was archived by the owner on Sep 1, 2020. It is now read-only.

Can not use same function more than one time in same template #30

Open
payalshah15 opened this issue Jan 29, 2015 · 0 comments
Open

Can not use same function more than one time in same template #30

payalshah15 opened this issue Jan 29, 2015 · 0 comments
Assignees
Labels

Comments

@payalshah15
Copy link

I am assigning " test string " value to myVar variable and printing it.
{assign 'test string' myVar}
{$myVar}

I want to create an array user using assign and print its value.
{assign array(name="Bob" gender="male") user}
{$user.name} is {$user.gender}*}

I want to use above both code in one template which is not working.

Error is :- Cannot redeclare Dwoo\Plugins\Functions\functionAssignCompile() .....

@emulienfou emulienfou added this to the 2.0 milestone Sep 7, 2016
@emulienfou emulienfou self-assigned this Sep 7, 2016
@emulienfou emulienfou added the bug label Sep 7, 2016
@emulienfou emulienfou modified the milestones: 2.0, 1.3.0 Sep 19, 2016
@emulienfou emulienfou modified the milestone: 1.3.1 Dec 16, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants