From 4f31b6c2e051e489b06e9497461c9a13867587ce Mon Sep 17 00:00:00 2001 From: xiaoz Date: Wed, 7 Nov 2018 21:46:47 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E4=B8=80=E5=A4=84BUG?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dispose.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dispose.php b/dispose.php index 39b2122..920f12c 100644 --- a/dispose.php +++ b/dispose.php @@ -69,7 +69,7 @@ $dispose['compress'] = 1; } //对图片进行鉴黄 - if(($ModerateContent['option'] == true) && ($level == 0)) { + if(($ModerateContent['option'] == true) && (($level == 0) || ($level == null))) { $apiurl = "https://www.moderatecontent.com/api/v2?key=".$mckey."&url=".$imgurl; $curl = curl_init($apiurl);