Indefero

Indefero Commit Details


Date:2009-08-20 08:20:15 (15 years 4 months ago)
Author:Loic d'Anterroches
Branch:develop, feature-issue_links, feature.better-home, feature.content-md5, feature.diff-whitespace, feature.download-md5, feature.issue-links, feature.issue-of-others, feature.issue-summary, feature.search-filter, feature.webrepos, feature.wiki-default-page, master, release-1.1, release-1.2, release-1.3
Commit:c1e23ae9e2f4dd439bbf6254c4ac48e6c9e4788c
Parents: 14e074b1224dc78c0a1aaef5b3c97e41e92fa407
Message:Fixed to prevent the search on no available keywords.

Changes:

File differences

src/IDF/Search.php
5959
6060
6161
62
62
6363
6464
6565
$words_flat[] = $word;
}
$word_ids = self::getWordIds($words_flat);
if (in_array(null, $word_ids)) {
if (in_array(null, $word_ids) or count($word_ids) == 0) {
return array();
}
return self::mySearchDocuments($word_ids, $project, $model);

Archive Download the corresponding diff file

Page rendered in 0.06981s using 13 queries.