Fix a space [MAILPOET-816]

This commit is contained in:
Alexey Stoletniy
2017-02-21 13:34:33 +03:00
parent bcf89f0dfe
commit e99d2b380c

View File

@@ -717,7 +717,7 @@ class Newsletter extends Model {
} }
function restore() { function restore() {
if ($this->status == self::STATUS_SENDING) { if($this->status == self::STATUS_SENDING) {
$this->set('status', self::STATUS_DRAFT); $this->set('status', self::STATUS_DRAFT);
$this->save(); $this->save();
} }