term can be empty to start with >_<
This commit is contained in:
parent
ae56e591e9
commit
96b8253b38
@ -591,7 +591,7 @@ class Image {
|
||||
// various types of querylet
|
||||
foreach($terms as $term) {
|
||||
$positive = true;
|
||||
if($term[0] == '-') {
|
||||
if(strlen($term) > 0 && $term[0] == '-') {
|
||||
$positive = false;
|
||||
$term = substr($term, 1);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user