From 89c539e6fde8e0d6d76760d2544b0caee23d9074 Mon Sep 17 00:00:00 2001 From: Sebastian Grewe Date: Thu, 25 Jul 2013 13:41:13 +0200 Subject: [PATCH] Fixing notifications for findblocks cron If disabled, findblocks would still send out notifications. Thanks @feeleep75 for the heads up. Fixes #522 --- cronjobs/findblock.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cronjobs/findblock.php b/cronjobs/findblock.php index d55b7f64..2643b1ba 100755 --- a/cronjobs/findblock.php +++ b/cronjobs/findblock.php @@ -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)) {