Fix Bug Sendmail_Core, do not set the format properly
This commit is contained in:
parent
901645ec94
commit
139c03521a
1 changed files with 1 additions and 1 deletions
|
|
@ -60,7 +60,7 @@ class Sendmail_Core
|
|||
* @return Sendmail_Core
|
||||
*/
|
||||
public function set_format($format) {
|
||||
if ( in_array($this->format,['PLAIN','HTML'] ) == false) {
|
||||
if ( in_array($format,['PLAIN','HTML'] ) == false) {
|
||||
throw new \Exception('SC64 : unknow format ');
|
||||
}
|
||||
$this->format = $format;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue