浏览代码

Update arclist.lib.php

tags/6.2.8
叙述、别离 1年前
父节点
当前提交
475e70d87b
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. +2
    -2
      src/system/taglib/arclist.lib.php

+ 2
- 2
src/system/taglib/arclist.lib.php 查看文件

@@ -215,12 +215,12 @@ function lib_arclistDone (&$refObj, &$ctag, $typeid=0, $row=10, $col=1, $titlele
if (!empty($channelid)) $orwheres[] = " And arc.channel = '$channelid' ";
if (!empty($noflag)) {
if (!preg_match('#,#', $noflag)) {
$orwheres[] = " FIND_IN_SET('$noflag', arc.flag)<1 ";
$orwheres[] = " FIND_IN_SET('$noflag', arc.flag) < 1 ";
} else {
$noflags = explode(',', $noflag);
foreach ($noflags as $noflag) {
if (trim($noflag) == '') continue;
$orwheres[] = " FIND_IN_SET('$noflag', arc.flag)<1 ";
$orwheres[] = " FIND_IN_SET('$noflag', arc.flag) < 1 ";
}
}
}


正在加载...
取消
保存