minus on its own was being turned into 'negative null-tag', which confused things
This commit is contained in:
parent
717024d464
commit
4530efc1e0
@ -591,10 +591,13 @@ class Image {
|
|||||||
// various types of querylet
|
// various types of querylet
|
||||||
foreach($terms as $term) {
|
foreach($terms as $term) {
|
||||||
$positive = true;
|
$positive = true;
|
||||||
if((strlen($term) > 0) && ($term[0] == '-')) {
|
if($term[0] == '-') {
|
||||||
$positive = false;
|
$positive = false;
|
||||||
$term = substr($term, 1);
|
$term = substr($term, 1);
|
||||||
}
|
}
|
||||||
|
if(strlen($term) == 0) {
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
$term = Tag::resolve_alias($term);
|
$term = Tag::resolve_alias($term);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user