Browse Source

Update tag.lib.php

解决文章页tag不能调用当前文章tag的问题,即getall='0'无效。
master^2
zidony GitHub 2 months ago
parent
commit
8379cf873c
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/include/taglib/tag.lib.php

+ 1
- 1
src/include/taglib/tag.lib.php View File

@@ -36,7 +36,7 @@ function lib_tag(&$ctag, &$refObj)
$ids .= ($ids == '' ? $row['tid'] : ',' . $row['tid']);
}
if ($ids != '') {
$addsql .= " AND id IN($ids) AND";
$addsql .= " AND id IN($ids)";
}
if ($addsql == '') return '';
} else {


Loading…
Cancel
Save