mailparse_msg_get_part() can return false
According to the source, it returns false when called incorrectly, or when the requested part was not found.
This commit is contained in:
parent
7b055d8634
commit
c9803bb1d7
|
@ -111,7 +111,7 @@ function mailparse_msg_get_part_data($mimemail) {}
|
|||
* A valid MIME resource.
|
||||
* </p>
|
||||
* @param string $mimesection
|
||||
* @return resource
|
||||
* @return resource|false
|
||||
*/
|
||||
function mailparse_msg_get_part($mimemail, $mimesection) {}
|
||||
|
||||
|
|
Loading…
Reference in New Issue