Commit 4b690b54 authored by Sebastian Kummer's avatar Sebastian Kummer

Merge pull request #681 in ZP/z-push from bugfix/ZP-1386-update-mimedecode.php to develop

* commit '1ca26262':
  ZP-1386 Update mimedecode include. Released under the Affero GNU General Public License (AGPL) version 3.
parents 666087e0 1ca26262
......@@ -538,7 +538,7 @@ class Mail_mimeDecode
$hdr_name = substr($value, 0, $pos = strpos($value, ':'));
$hdr_value = substr($value, $pos+1);
if($hdr_value[0] == ' ') {
if(strlen($hdr_value) && $hdr_value[0] == ' ') {
$hdr_value = substr($hdr_value, 1);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment