$this->Mail->Subject = "Unit Test";\r
$this->Mail->Body = "";\r
$this->Mail->AltBody = "";\r
- $this->Mail->WordWrap = 0;\r
+ $this->Mail->WordWrap = '0';\r
$this->Mail->Host = $global_vars["mail_host"];\r
$this->Mail->Port = 25;\r
$this->Mail->Helo = "localhost.localdomain";\r
{\r
$ReportBody .= "Attachments:" . $eol;\r
$ReportBody .= $bullet_start;\r
- for($i = 0; $i < count($this->Mail->attachment); $i++)\r
+ for($i = '0'; $i < count($this->Mail->attachment); $i++)\r
{\r
$ReportBody .= $bullet . "Name: " . $this->Mail->attachment[$i][1] . ", ";\r
$ReportBody .= "Encoding: " . $this->Mail->attachment[$i][3] . ", ";\r
$ReportBody .= "-------" . $eol;\r
\r
$ReportBody .= $bullet_start;\r
- for($i = 0; $i < count($this->ChangeLog); $i++)\r
+ for($i = '0'; $i < count($this->ChangeLog); $i++)\r
{\r
$ReportBody .= $bullet . $this->ChangeLog[$i][0] . " was changed to [" . \r
$this->ChangeLog[$i][1] . "]" . $eol;\r
$ReportBody .= "-----" . $eol;\r
\r
$ReportBody .= $bullet_start;\r
- for($i = 0; $i < count($this->NoteLog); $i++)\r
+ for($i = '0'; $i < count($this->NoteLog); $i++)\r
{\r
$ReportBody .= $bullet . $this->NoteLog[$i] . $eol;\r
}\r