Skip to content

Bugfix in MediaLibrary frontend Twig method media_library_widget#2274

Merged
carakas merged 1 commit intoforkcms:masterfrom
jeroendesloovere:fix-frontend-media_library_widget-twig-function
Sep 27, 2017
Merged

Bugfix in MediaLibrary frontend Twig method media_library_widget#2274
carakas merged 1 commit intoforkcms:masterfrom
jeroendesloovere:fix-frontend-media_library_widget-twig-function

Conversation

@jeroendesloovere
Copy link
Copy Markdown
Member

Type

  • Non critical bugfix

Resolves the following issues

When using {{ media_library_widget('Lightbox', realization.mediaGroup.id) }} in the frontend. An error was thrown because the method return string and not the required Twig_Markup.

Pull request description

Changed return type Twig_Markup to string.

@jeroendesloovere jeroendesloovere added this to the 5.0.5 milestone Sep 27, 2017
@jeroendesloovere jeroendesloovere changed the title Bugfix in MediaLibrary frontend Twig method: return type is a string … Bugfix in MediaLibrary frontend Twig method media_library_widget Sep 27, 2017
@carakas carakas merged commit dde453f into forkcms:master Sep 27, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants