- 找到下面一段代码:
- //构建数据
- $setsqlarr = array(
- 'catid' => $_POST['catid'],
- 'subject' => scensor($_POST['subject'], 1),
- 'folder' => $_POST['folder'],
- 'hash' => $_POST['hash'],
- 'picid' => $_POST['picid']
- );
- 将其改为:
- //构建数据
- $setsqlarr = array(
- 'catid' => $_POST['catid'],
- 'subject' => scensor($_POST['subject'], 1),
- 'keyword' => scensor($_POST['keyword'], 1),
- 'folder' => $_POST['folder'],
- 'hash' => $_POST['hash'],
- 'picid' => $_POST['picid']
- );
复制代码 'folder' => $_POST['folder'],
这句多余了吧? |