Skip to content
This repository was archived by the owner on May 30, 2024. It is now read-only.

Convert null values to string#62

Open
Martin1982 wants to merge 2 commits intoartgris:masterfrom
Martin1982:fix-null-conversion
Open

Convert null values to string#62
Martin1982 wants to merge 2 commits intoartgris:masterfrom
Martin1982:fix-null-conversion

Conversation

@Martin1982
Copy link

If a null value is passed to the twig extension an error occurs;
Artgris\Bundle\FileManagerBundle\Twig\FileTypeExtension::fileIcon(): Argument #1 ($filePath) must be of type string, null given

Therefor this fix will convert values to a string first

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant