Browse Source

Small bug in content-type properties, thanks Ryan (hairball57) for reporting.

Thijs Kinkhorst 22 năm trước cách đây
mục cha
commit
48e80e3c73
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      class/mime/Rfc822Header.class.php

+ 1 - 1
class/mime/Rfc822Header.class.php

@@ -524,7 +524,7 @@ class Rfc822Header {
         $props = '';
         if ($pos > 0) {
            $type = trim(substr($value, 0, $pos));
-           $props = trim(substr($type, $pos+1));
+           $props = trim(substr($value, $pos+1));
         } else {
            $type = $value;
         }