Commit 1ca26262 authored by Bart Vullings's avatar Bart Vullings

ZP-1386 Update mimedecode include. Released under the Affero GNU General...

ZP-1386 Update mimedecode include. Released under the Affero GNU General Public License (AGPL) version 3.
parent 4c334595
...@@ -538,7 +538,7 @@ class Mail_mimeDecode ...@@ -538,7 +538,7 @@ class Mail_mimeDecode
$hdr_name = substr($value, 0, $pos = strpos($value, ':')); $hdr_name = substr($value, 0, $pos = strpos($value, ':'));
$hdr_value = substr($value, $pos+1); $hdr_value = substr($value, $pos+1);
if($hdr_value[0] == ' ') { if(strlen($hdr_value) && $hdr_value[0] == ' ') {
$hdr_value = substr($hdr_value, 1); $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