Revision 557efba1fd6845c5ef9a9b1ded4cc14fa736b2d3
Committed on 09/09/2018 11:44 pm by
Edi Modrić <edi.modric@gmail.com> [GitHub Diff]
Check if legacy engine is set before calling it (#159)
On PHP 7.3, `loadTemplate` method is somehow called before `setEzLegacyEngine` had a chance to set the legacy engine to the `Environment` class. Checking for `null` on `$this->legacyEngine` does the job apparently, with no side-effects.