git-svn-id: file:///home/shish/svn/shimmie2/trunk@1077 7f39781d-f577-437e-ae19-be835c7a54ca
This commit is contained in:
shish 2008-10-17 19:58:37 +00:00
parent 4e901afce0
commit 422bd084b5

View File

@ -228,7 +228,7 @@ class Image {
$img_querylets = array();
$positive_tag_count = 0;
$stpe = new SearchTermParseEvent(null, $tags);
$stpe = new SearchTermParseEvent(null, $terms);
send_event($stpe);
if($stpe->is_querylet_set()) {
$img_querylets[] = new ImgQuerylet($stpe->get_querylet(), $positive);
@ -245,7 +245,7 @@ class Image {
$term = $database->resolve_alias($term);
$stpe = new SearchTermParseEvent($term, $tags);
$stpe = new SearchTermParseEvent($term, $terms);
send_event($stpe);
if($stpe->is_querylet_set()) {
$img_querylets[] = new ImgQuerylet($stpe->get_querylet(), $positive);