屬于BUG
修復模板擴展配色無法全部取消的BUG
https://gitee.com/Discuz/DiscuzX/pulls/1953
打開 source/admincp/admincp_styles.php
找到
- if(isset($_GET['defaultextstylenew']) && isset($_GET['extstylenew'])) {
- if (!in_array($_GET['defaultextstylenew'], is_array($_GET['extstylenew']) ? $_GET['extstylenew'] : array())) {
復制代碼改為
- if(isset($_GET['defaultextstylenew'])) {
- if(!isset($_GET['extstylenew']) || !is_array($_GET['extstylenew'])) {
- $_GET['extstylenew'] = array();
- }
- if(!in_array($_GET['defaultextstylenew'], $_GET['extstylenew'])) {
復制代碼
修復表情推薦無法全部取消的BUG
https://gitee.com/Discuz/DiscuzX/pulls/1954
打開 source/admincp/admincp_smilies.php
找到
- if(!empty($_GET['fast']) && is_array($_GET['fast']) && !in_array($key, $_GET['fast'])) {
復制代碼
改為
- if(empty($_GET['fast']) || (is_array($_GET['fast']) && !in_array($key, $_GET['fast']))) {
復制代碼