... |
... |
@@ -67,6 +67,7 @@ class SendNewsNotificationJob
|
67 |
67 |
// Load groups and notification models if we have news to share
|
68 |
68 |
if ($News->rowCount() && ($Notification = Notification::findByPk($Archive->nc_notification)) !== null && ($Groups = MemberGroupModel::findMultipleByIds($arrGroupIds)) !== null)
|
69 |
69 |
{
|
|
70 |
+ $arrNewsIds = array();
|
70 |
71 |
|
71 |
72 |
while ($Groups->next())
|
72 |
73 |
{
|
... |
... |
@@ -84,7 +85,6 @@ class SendNewsNotificationJob
|
84 |
85 |
{
|
85 |
86 |
$arrNews = array();
|
86 |
87 |
$arrNewsPlain = array();
|
87 |
|
- $arrNewsIds = array();
|
88 |
88 |
foreach ($News->iterateAssociative() as $item)
|
89 |
89 |
{
|
90 |
90 |
$strText = '';
|