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

Fixing non existing method error. #45

Merged
merged 1 commit into from
Mar 25, 2020

Conversation

dowadidi
Copy link
Contributor

Method ElementHelper::isDraftOrRevision does not exist prior to Craft CMS 3.2.

Method ElementHelper::isDraftOrRevision does not exist prior to Craft CMS 3.2
@janhenckens
Copy link
Member

Oops, thanks for catching that @dowadidi. I'd rather use version_compare to check the version, but thanks for getting me started. I'll have an update out with this asap!

@janhenckens janhenckens self-assigned this Mar 25, 2020
@janhenckens janhenckens added the bug 🕷 Something isn't working label Mar 25, 2020
@janhenckens janhenckens merged commit 5a6530e into studioespresso:master Mar 25, 2020
@janhenckens
Copy link
Member

Released in 2.5.2.

@dowadidi
Copy link
Contributor Author

Great, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🕷 Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants