@@ -308,8 +308,11 @@ |
||
| 308 | 308 | private function smtpPutCmd($cmd, $arg = "") |
| 309 | 309 | { |
| 310 | 310 | if ($arg != "") { |
| 311 | - if($cmd=="") $cmd = $arg; |
|
| 312 | - else $cmd = $cmd." ".$arg; |
|
| 311 | + if($cmd=="") { |
|
| 312 | + $cmd = $arg; |
|
| 313 | + } else { |
|
| 314 | + $cmd = $cmd." ".$arg; |
|
| 315 | + } |
|
| 313 | 316 | } |
| 314 | 317 | fputs($this->sock, $cmd."\r\n"); |
| 315 | 318 | $this->debug("> ".$cmd."\n"); |
@@ -191,7 +191,7 @@ |
||
| 191 | 191 | public function addHeaders($headers){ |
| 192 | 192 | if(is_array($headers)){ |
| 193 | 193 | $this->headers = array_merge($this->headers,$headers); |
| 194 | - }else{ |
|
| 194 | + } else{ |
|
| 195 | 195 | $this->headers[] = $headers; |
| 196 | 196 | } |
| 197 | 197 | return $this; |