wrong method call
This commit is contained in:
parent
4ea8b6c695
commit
79d9c9714d
@ -114,9 +114,9 @@ foreach ($aAllBlocks as $iIndex => $aBlock) {
|
|||||||
);
|
);
|
||||||
|
|
||||||
// Notify users
|
// Notify users
|
||||||
$aAccounts = $notification->getNotificationByType('new_block');
|
$aAccounts = $notification->getNotificationAccountIdByType('new_block');
|
||||||
foreach ($aAccounts as $account_id) {
|
foreach ($aAccounts as $account_id) {
|
||||||
$aMailData = $aBlock;
|
$aMailData['height'] = $aBlock['height'];
|
||||||
$aMailData['subject'] = 'New Block';
|
$aMailData['subject'] = 'New Block';
|
||||||
$aMailData['email'] = $user->getUserEmail($user->getUserName($account_id));
|
$aMailData['email'] = $user->getUserEmail($user->getUserName($account_id));
|
||||||
$aMailData['shares'] = $iRoundShares;
|
$aMailData['shares'] = $iRoundShares;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user