Set packed boolean when packing Netmail's is successful
This commit is contained in:
@@ -254,8 +254,10 @@ class Packet extends FTNBase
|
||||
if (is_null($return)) {
|
||||
$return = $this->createHeader();
|
||||
|
||||
foreach ($this->messages as $o)
|
||||
$return .= "\02\00".(string)$o;
|
||||
foreach ($this->messages as $o) {
|
||||
if ($o->packed)
|
||||
$return .= "\02\00".(string)$o;
|
||||
}
|
||||
|
||||
$return .= "\00\00";
|
||||
}
|
||||
|
Reference in New Issue
Block a user