Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

returning incorrect value for function call on HTML::FormHandler form #166

Open
srchulo opened this issue Jul 7, 2016 · 1 comment
Open

Comments

@srchulo
Copy link

srchulo commented Jul 7, 2016

I've detailed the bug here:

https://stackoverflow.com/questions/38193910/textxslate-returning-incorrect-value-for-function-call

Basically, the error_fields method is returning a 1 instead of an array. I've seen this with some other functions such as 'errors'. When running the same code with Template Toolkit or Template Alloy, the code works as expected.

@syohex
Copy link
Contributor

syohex commented Jul 25, 2016

Sorry late reply.
Value after IN must be arrayref. I suppose you specify list(not array) and last element is used. Please save into variable as arrayref and reference it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants