Code Duplication    Length = 6-6 lines in 2 locations

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

@@ 605-610 (lines=6) @@
602
				$Body = $Body."\r\n".$bodyBUFF.$sigTextPlain;
603
				$isreply = true;
604
			}
605
			if (!empty($bodyBUFF) && empty($bodyBUFFHtml) && !empty($AltBody))
606
			{
607
				$isreply = true;
608
				$AltBody = $AltBody."</br><pre>".nl2br($bodyBUFF).'</pre>'.$sigTextHtml;
609
				if ($this->debugLevel>0) ZLog::Write(LOGLEVEL_DEBUG,__METHOD__.__LINE__." no Api\Html Body found use modified plaintext body for txt/html: ".$AltBody);
610
			}
611
		}
612
613
		// how to forward and other prefs
@@ 676-681 (lines=6) @@
673
					$Body = $Body."\r\n".$bodyBUFF.$sigTextPlain;
674
					$isforward = true;
675
				}
676
				if (!empty($bodyBUFF) && empty($bodyBUFFHtml) && !empty($AltBody))
677
				{
678
					$AltBody = $AltBody."</br><pre>".nl2br($bodyBUFF).'</pre>'.$sigTextHtml;
679
					if ($this->debugLevel>0) ZLog::Write(LOGLEVEL_DEBUG,__METHOD__.__LINE__." no html Body found use modified plaintext body for txt/html: ".$AltBody);
680
					$isforward = true;
681
				}
682
				// get all the attachments and add them too.
683
				// start handle Attachments
684
				//												$_uid, $_partID=null, Horde_Mime_Part $_structure=null, $fetchEmbeddedImages=true, $fetchTextCalendar=false, $resolveTNEF=true, $_folderName=''