2
0
forked from Wavyzz/dolibarr

replace specific php7 code

This commit is contained in:
Frédéric FRANCE
2018-11-14 22:05:21 +01:00
parent 9447e66da1
commit 1c15d249b3
5 changed files with 5 additions and 5 deletions

View File

@@ -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;
}
/**