diff options
Diffstat (limited to 'it.class')
-rw-r--r-- | it.class | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -225,7 +225,7 @@ static function error($p = array()) $lastsentfn = "/tmp/alertdata/it_error_mailsent_" . urlencode($p['blockmailid']); clearstatcache(); $sendmail = time() - max(@filemtime($lastsentfn), it_cache::get($lastsentfn, ['distributed' => true])) > $p['blockmail']; - if ($sendmail) + if ($sendmail && !it_cache::get('it_error_mute_' . $GLOBALS['ULTRASITE'], [ 'distributed' => true ])) { @unlink($lastsentfn); @touch($lastsentfn); |