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

Having an assets field named `img` #1013

Closed
1stevengrant opened this Issue Oct 4, 2016 · 1 comment

Comments

Projects
None yet
2 participants
@1stevengrant

1stevengrant commented Oct 4, 2016

When I have an assets field called img and I try to call it using {{ assets:img }} <img src="{{ url }}"> {{ /assets:img }}

I get the error preg_match() expects parameter 2 to be string, object given

If I rename the field to blog_img then it's fine.

@jasonvarga

This comment has been minimized.

Member

jasonvarga commented Oct 4, 2016

Fixed for next release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment