Sfoglia il codice sorgente

Update arclist.lib.php

tags/6.2.8
叙述、别离 1 anno fa
parent
commit
475e70d87b
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. +2
    -2
      src/system/taglib/arclist.lib.php

+ 2
- 2
src/system/taglib/arclist.lib.php Vedi 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…
Annulla
Salva