From 160651319bc62d6091f1ad43a6b610065af52996 Mon Sep 17 00:00:00 2001 From: test_discuz Date: Fri, 28 Jul 2017 23:54:35 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E5=88=A0=E9=99=A4=E9=87=8D=E5=A4=8D?= =?UTF-8?q?=E5=88=A4=E6=96=AD=EF=BC=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- upload/source/function/function_message.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/upload/source/function/function_message.php b/upload/source/function/function_message.php index ac91a4e..275fdca 100644 --- a/upload/source/function/function_message.php +++ b/upload/source/function/function_message.php @@ -80,8 +80,6 @@ function dshowmessage($message, $url_forward = '', $values = array(), $extrapara if(!empty($_G['inajax'])) { $handlekey = $_GET['handlekey'] = !empty($_GET['handlekey']) ? dhtmlspecialchars($_GET['handlekey']) : ''; $param['handle'] = true; - } - if(!empty($_G['inajax'])) { $param['msgtype'] = empty($_GET['ajaxmenu']) && (empty($_POST) || !empty($_GET['nopost'])) ? 2 : 3; } if($url_forward) { From 319eb51ff82e1acbc9969e47c5d8d3740ecd7af7 Mon Sep 17 00:00:00 2001 From: test_discuz Date: Fri, 28 Jul 2017 23:56:32 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E5=88=A0=E9=99=A4=E5=A4=9A=E5=87=BA?= =?UTF-8?q?=E7=9A=84=E4=B8=80=E5=AF=B9=E6=8B=AC=E5=8F=B7=EF=BC=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- upload/source/function/function_core.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/upload/source/function/function_core.php b/upload/source/function/function_core.php index a61db90..4379229 100644 --- a/upload/source/function/function_core.php +++ b/upload/source/function/function_core.php @@ -2026,7 +2026,7 @@ function check_diy_perm($topic = array(), $flag = '') { function strhash($string, $operation = 'DECODE', $key = '') { $key = md5($key != '' ? $key : getglobal('authkey')); if($operation == 'DECODE') { - $hashcode = gzuncompress(base64_decode(($string))); + $hashcode = gzuncompress(base64_decode($string)); $string = substr($hashcode, 0, -16); $hash = substr($hashcode, -16); unset($hashcode);