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

scale2h returning $ny for asset_id.width placeholder #44

Open
blue148 opened this issue Mar 2, 2015 · 0 comments
Open

scale2h returning $ny for asset_id.width placeholder #44

blue148 opened this issue Mar 2, 2015 · 0 comments
Assignees

Comments

@blue148
Copy link
Contributor

blue148 commented Mar 2, 2015

the scale2h snippet is returning the height declare in the input filter instead of the calculated width for the asset_id.width placeholder.

line 50: $modx->setPlaceholder('asset_id.width', $ny);

this should be $modx->setPlaceholder('asset_id.width', $nx); which would return the calculated width.

@fireproofsocks fireproofsocks self-assigned this Mar 2, 2015
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