mirror of
				https://bitbucket.org/jsuto/piler.git
				synced 2025-11-01 00:42:26 +01:00 
			
		
		
		
	[BUGFIX] Render multiple mail parts in mail view instead of only the last part
This commit is contained in:
		| @@ -185,10 +185,10 @@ class ModelSearchMessage extends Model { | ||||
|          $body = Piler_Mime_Decode::fixMimeBodyPart($parts[$i]['headers'], $parts[$i]['body']); | ||||
|  | ||||
|          if($parts[$i]['headers']['content-type']['type'] == 'text/html') { | ||||
|             $this->message['text/html'] = $purifier->purify($body); | ||||
|             $this->message['text/html'] .= $purifier->purify($body); | ||||
|          } | ||||
|          else { | ||||
|             $this->message['text/plain'] = $body; | ||||
|             $this->message['text/plain'] .= $body; | ||||
|          } | ||||
|  | ||||
|       } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user