stfalcon / TinymceBundle

Bundle for connecting TinyMCE (WYSIWYG editor) to your Symfony2 project
259 stars 154 forks source link

Use request from stack only when available #210

Open gzumba opened 7 years ago

gzumba commented 7 years ago

When using Twig from CLI there is of course no request in the stack and this causes a null reference issue.

This PR fixes the issue.