mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-24 11:08:45 +02:00
Fixed a regression introduced by [r3242] (warning when sending an email with an empty "To")
SVN:trunk[3265]
This commit is contained in:
@@ -595,7 +595,7 @@ class Swift_Mime_SimpleMimeEntity implements Swift_Mime_MimeEntity
|
||||
if ($this->_headers->has($field)) {
|
||||
return $this->_headers->get($field)->getFieldBodyModel();
|
||||
}
|
||||
return false;
|
||||
return null; // Returning null is equivalent to no return, but is easier to read!!
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user