forked from Wavyzz/dolibarr
replace specific php7 code
This commit is contained in:
@@ -159,7 +159,7 @@ class Swift_Plugins_DecoratorPlugin implements Swift_Events_SendListener, Swift_
|
||||
return $this->replacements->getReplacementsFor($address);
|
||||
}
|
||||
|
||||
return $this->replacements[$address] ?? null;
|
||||
return isset($this->replacements[$address]) ? $this->replacements[$address] : null;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user