Version 4.7.6
This commit is contained in:
1 parent
8ba7d43898
commit
7b7404e741
1085 files changed
+30590
-7837
No files matched your search
@@ -79,7 +79,7 @@ class _Subscription extends \IPS\Patterns\ActiveRecord
|
||||
foreach ( $subscriptions as $row )
|
||||
{
|
||||
$member = \IPS\Member::load( $row['member_id'] );
|
||||
if ( !$member->email )
|
||||
if ( !$member->email or $member->isBanned() )
|
||||
{
|
||||
/* Update sent time, so the batch doesn't get stuck in a loop */
|
||||
\IPS\Db::i()->update( 'core_stream_subscriptions', array( 'sent' => time() ), array( 'id=?', $row['id'] ) );
|
||||
|
||||
Reference in new issue
Block a user