Import/Core_email.php
authorAlan Knowles <alan@roojs.com>
Thu, 4 Mar 2021 07:04:58 +0000 (15:04 +0800)
committerAlan Knowles <alan@roojs.com>
Thu, 4 Mar 2021 07:04:58 +0000 (15:04 +0800)
Import/Core_email.php

index a74c499..b59a544 100644 (file)
@@ -137,10 +137,10 @@ class Pman_Core_Import_Core_email extends Pman
         $bodytext  = '';
         if (empty($opts['use-file'])) {
             
-            switch($structure->ctype_primary .'/'. $structure->ctype_secodary ) {
+            switch($structure->ctype_primary .'/'. $structure->ctype_secondary ) {
                 case 'multipart/alternative':
                     foreach($structure->parts as $p) {
-                        switch($p->ctype_primary .'/'. $p->ctype_secodary ) {
+                        switch($p->ctype_primary .'/'. $p->ctype_secondary ) {
                             case 'text/plain':
                             $bodytext = $p->body;
                             break;