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); 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) {