We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Method setAttachmentCID( $filename ) crashes as the return value is not set.
line 763 : return $attachment['cid'];
The array index is not set and cause an exception: "title": "ErrorException", "type": "ErrorException", "code": 500, "message": "Undefined index: cid"
CodeIgniter 4 version First encountered in version 4.1.2 seems to still be there in 4.1.3
Affected module(s) System/Email/Email.php
On my local version I changed the affected line (761) to:
$attachment['cid'] = $this->attachments[ $i ][ 'cid' ] = uniqid( basename( $attachment[ 'name' ][ 0 ] ) . '@', TRUE );
The text was updated successfully, but these errors were encountered:
This has been fixed by #4798
Sorry, something went wrong.
No branches or pull requests
Method setAttachmentCID( $filename ) crashes as the return value is not set.
line 763 : return $attachment['cid'];
The array index is not set and cause an exception:
"title": "ErrorException", "type": "ErrorException", "code": 500, "message": "Undefined index: cid"
CodeIgniter 4 version
First encountered in version 4.1.2 seems to still be there in 4.1.3
Affected module(s)
System/Email/Email.php
On my local version I changed the affected line (761) to:
$attachment['cid'] = $this->attachments[ $i ][ 'cid' ] = uniqid( basename( $attachment[ 'name' ][ 0 ] ) . '@', TRUE );
The text was updated successfully, but these errors were encountered: