!108 系统配置符号过滤问题

Merge pull request !108 from Chrisleung/master
pull/108/MERGE
Chrisleung 2019-03-15 18:34:45 +08:00 committed by Karson
commit 7d1119386e
1 changed files with 1 additions and 0 deletions

View File

@ -51,6 +51,7 @@ class Config extends Backend
$value['value'] = explode(',', $value['value']); $value['value'] = explode(',', $value['value']);
} }
$value['content'] = json_decode($value['content'], TRUE); $value['content'] = json_decode($value['content'], TRUE);
$value['tip'] = htmlspecialchars($value['tip']);
$siteList[$v['group']]['list'][] = $value; $siteList[$v['group']]['list'][] = $value;
} }
$index = 0; $index = 0;