Merge pull request #530 from TheSerapher/issue-522

Fixing notifications for findblocks cron
This commit is contained in:
Sebastian Grewe 2013-07-28 01:19:54 -07:00
commit 900e559497

View File

@ -115,7 +115,7 @@ if (empty($aAllBlocks)) {
. $share->share_type
);
if ($setting->getValue('disable_notification') != 1) {
if ($setting->getValue('disable_notifications') != 1) {
// Notify users
$aAccounts = $notification->getNotificationAccountIdByType('new_block');
if (is_array($aAccounts)) {