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

This commit is contained in:
iyuu.cn committed 2020-07-24 16:03:59 +08:00
1 parent a9d9fb637d
commit 5418c02227
2 files changed
+3 -3

No files matched your search

+1 -1
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;