- fixed comment, default searching by subject only

release-0.6
alecpl 15 years ago
parent 59395e7e36
commit ae119b9de7

@ -67,7 +67,6 @@ else if (preg_match("/^body:.*/i", $str))
list(,$srch) = explode(":", $str); list(,$srch) = explode(":", $str);
$subject['text'] = "TEXT"; $subject['text'] = "TEXT";
} }
// search in subject and sender by default
else if(trim($str)) else if(trim($str))
{ {
if ($headers) { if ($headers) {
@ -78,6 +77,7 @@ else if(trim($str))
default: $subject[$header] = 'HEADER '.$header; default: $subject[$header] = 'HEADER '.$header;
} }
} else { } else {
// search in subject by default
$subject['subject'] = 'HEADER SUBJECT'; $subject['subject'] = 'HEADER SUBJECT';
} }
} }

Loading…
Cancel
Save