修复缺少isset($configALL['notify_on_change'])判断警告

This commit is contained in:
iyuu.cn
2020-07-24 16:03:09 +08:00
parent a9d9fb637d
commit 5418c02227
2 changed files with 3 additions and 3 deletions

View File

@ -852,7 +852,7 @@ class AutoReseed
private static function wechatMessage()
{
global $configALL;
if ($configALL['notify_on_change'] && self::$wechatMsg['reseedSuccess'] == 0 && self::$wechatMsg['reseedError'] == 0) {
if (isset($configALL['notify_on_change']) && $configALL['notify_on_change'] && self::$wechatMsg['reseedSuccess'] == 0 && self::$wechatMsg['reseedError'] == 0) {
return;
}
$br = PHP_EOL;