Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Check if legacy engine is set before calling it (ezsystems#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.
- Loading branch information