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

Fix/deprecation warning #2118

Merged
merged 2 commits into from
Dec 15, 2023
Merged

Conversation

Daniel-KM
Copy link
Contributor

Trim requires a string, not a null or integer.

@zerocrates
Copy link
Member

trim (and strlen, and similar functions) actually accepts integers without complaint; the deprecation change from several versions ago really only affected null.

Regardless, converting everything to strings and using strlen as the the filter does make what's happening here a little clearer probably.

@zerocrates zerocrates merged commit 94d120f into omeka:develop Dec 15, 2023
4 checks passed
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

Successfully merging this pull request may close these issues.

2 participants