Display subscribers with correct status

[MAILPOET-1944]
This commit is contained in:
Pavel Dohnal
2019-04-23 16:50:49 +02:00
committed by M. Shull
parent 7b61df02e5
commit ae70f7ae9b
4 changed files with 50 additions and 7 deletions

View File

@@ -47,7 +47,7 @@ class Segment extends Model {
__NAMESPACE__.'\SubscriberSegment',
'segment_id',
'subscriber_id'
)->where(MP_SUBSCRIBER_SEGMENT_TABLE.'.status', Subscriber::STATUS_SUBSCRIBED);
);
}
function duplicate($data = array()) {