Code Duplication    Length = 6-6 lines in 2 locations

mail/inc/class.mail_zpush.inc.php 2 locations

@@ 624-629 (lines=6) @@
621
				$Body = $Body."\r\n".$bodyBUFF.$sigTextPlain;
622
				$isreply = true;
623
			}
624
			if (!empty($bodyBUFF) && empty($bodyBUFFHtml) && !empty($AltBody))
625
			{
626
				$isreply = true;
627
				$AltBody = $AltBody."</br><pre>".nl2br($bodyBUFF).'</pre>'.$sigTextHtml;
628
				if ($this->debugLevel>0) ZLog::Write(LOGLEVEL_DEBUG,__METHOD__.__LINE__." no Api\Html Body found use modified plaintext body for txt/html: ".$AltBody);
629
			}
630
		}
631
632
		// how to forward and other prefs
@@ 695-700 (lines=6) @@
692
					$Body = $Body."\r\n".$bodyBUFF.$sigTextPlain;
693
					$isforward = true;
694
				}
695
				if (!empty($bodyBUFF) && empty($bodyBUFFHtml) && !empty($AltBody))
696
				{
697
					$AltBody = $AltBody."</br><pre>".nl2br($bodyBUFF).'</pre>'.$sigTextHtml;
698
					if ($this->debugLevel>0) ZLog::Write(LOGLEVEL_DEBUG,__METHOD__.__LINE__." no html Body found use modified plaintext body for txt/html: ".$AltBody);
699
					$isforward = true;
700
				}
701
				// get all the attachments and add them too.
702
				// start handle Attachments
703
				//												$_uid, $_partID=null, Horde_Mime_Part $_structure=null, $fetchEmbeddedImages=true, $fetchTextCalendar=false, $resolveTNEF=true, $_folderName=''