Browse Source

Update arclist.lib.php

tags/6.2.8
叙述、别离 1 year ago
parent
commit
475e70d87b
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      src/system/taglib/arclist.lib.php

+ 2
- 2
src/system/taglib/arclist.lib.php View File

@@ -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 ";
}
}
}


Loading…
Cancel
Save