"Mark as sent" while the campaign is blocked

VVT

Active Member
Hi @twisted1919 ,

Now the customers are not able to mark the blocked campaigns as sent. Because of this, they're not able to delete some contacts from the associated list while the campaign is blocked. It needs admin intervention to unblock the campaign and then they can mark it as sent.

Option is there, but it simply doesn't work. Can you please look in to it ?
 

twisted1919

Administrator
Staff member
Gotcha, good point.
If you want to quickly and safely fix this, apps/common/models/Campaign.php at line 809-812:
From:
PHP:
    public function getCanBeMarkedAsSent()
    {
        return in_array($this->status, array(self::STATUS_PROCESSING, self::STATUS_PAUSED, self::STATUS_PENDING_SENDING));
    }
To
PHP:
    public function getCanBeMarkedAsSent()
    {
        return in_array($this->status, array(self::STATUS_BLOCKED, self::STATUS_PROCESSING, self::STATUS_PAUSED, self::STATUS_PENDING_SENDING));
    }
 
Top