Skip to content
Permalink
Browse files

fix(php7.4) Trying to access array offset on value of type null

  • Loading branch information
paulmhh authored and pschuele committed Jan 22, 2020
1 parent 972ece8 commit fa85b3ff3e1620dab502a1caa14afd782e91c6d7
Showing with 2 additions and 1 deletion.
  1. +2 −1 lib/Syncroton/Command/SendMail.php
@@ -32,7 +32,8 @@ class Syncroton_Command_SendMail extends Syncroton_Command_Wbxml
*/
public function handle()
{
if ($this->_requestParameters['contentType'] == 'message/rfc822') {
if (isset($this->_requestParameters['contentType']) &&
$this->_requestParameters['contentType'] === 'message/rfc822') {
$this->_mime = $this->_requestBody;
$this->_saveInSent = $this->_requestParameters['saveInSent'];
$this->_replaceMime = false;

0 comments on commit fa85b3f

Please sign in to comment.
You can’t perform that action at this time.