Code Duplication    Length = 6-6 lines in 2 locations

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

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