wildcards aren't regular tags either
This commit is contained in:
parent
da0bb2d65e
commit
c57801bce7
1 changed files with 1 additions and 1 deletions
|
@ -156,7 +156,7 @@ class Image {
|
||||||
}
|
}
|
||||||
return $total;
|
return $total;
|
||||||
}
|
}
|
||||||
else if(count($tags) == 1 && !preg_match("/[:=><]/", $tags[0])) {
|
else if(count($tags) == 1 && !preg_match("/[:=><\*\?]/", $tags[0])) {
|
||||||
$term = Tag::resolve_alias($tags[0]);
|
$term = Tag::resolve_alias($tags[0]);
|
||||||
return $database->get_one(
|
return $database->get_one(
|
||||||
$database->scoreql_to_sql("SELECT count FROM tags WHERE SCORE_STRNORM(tag) = SCORE_STRNORM(:tag)"),
|
$database->scoreql_to_sql("SELECT count FROM tags WHERE SCORE_STRNORM(tag) = SCORE_STRNORM(:tag)"),
|
||||||
|
|
Reference in a new issue