Open gabriel-tandil opened 1 year ago
I changed line 210 to add an isset and the error does not occur, although I did not analyze if the solution is correct in all cases.
if (isset($matches[$idx+1]) && $next_match = $matches[$idx+1]) {
if you are ok with the solution, I will make a pull request.
The fix I mentioned has been in use for two weeks in the production environment and we haven't received any bug reports, so I created a pull request for it to be added to the repository.
in Mime.php an attempt is made to access an array in a position that does not exist.
message: Undefined offset: 1 file: /var/www/html/ver2/vendor/javanile/php-imap2/src/Roundcube/Mime.php line: 210 trace: