Code Duplication    Length = 1-1 lines in 2 locations

classes/Email/Envelope.php 2 locations

@@ 138-138 (lines=1) @@
135
      $head[] = "Subject: {$this->subject}";
136
      if($this->from)                        $head[] = "From: {$this->from}";
137
      if(is_array($this->to)  && $this->to)  $head[] = "To: "  . implode(', ',$this->to);
138
      if(is_array($this->cc)  && $this->cc)  $head[] = "Cc: "  . implode(', ',$this->cc);
139
      if(is_array($this->bcc) && $this->bcc) $head[] = "Bcc: " . implode(', ',$this->bcc);
140
      if($this->replyTo)                     $head[] = "Reply-To: {$this->replyTo}";
141
      $head[] = 'MIME-Version: 1.0';
@@ 139-139 (lines=1) @@
136
      if($this->from)                        $head[] = "From: {$this->from}";
137
      if(is_array($this->to)  && $this->to)  $head[] = "To: "  . implode(', ',$this->to);
138
      if(is_array($this->cc)  && $this->cc)  $head[] = "Cc: "  . implode(', ',$this->cc);
139
      if(is_array($this->bcc) && $this->bcc) $head[] = "Bcc: " . implode(', ',$this->bcc);
140
      if($this->replyTo)                     $head[] = "Reply-To: {$this->replyTo}";
141
      $head[] = 'MIME-Version: 1.0';
142
      $head[] = "Content-Type: multipart/mixed; boundary=\"{$this->uid}\"";