Code Duplication    Length = 6-6 lines in 2 locations

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

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