v1.2.3 #7

Merged
anthony merged 2 commits from dev into master 2023-08-13 15:12:25 +00:00
Showing only changes of commit d581afa793 - Show all commits

View File

@ -173,7 +173,7 @@ abstract class AbstractConverter implements ConverterContract
*/
protected function interpolate(string $content): string
{
if (empty($this->vars) && $this->env->hasVars()) {
if (empty($this->vars) && !empty($this->env) && $this->env->hasVars()) {
return $content;
}
$matches = [];