Skip to content

Commit

Permalink
one more NPE patch for a search item case
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@4440 6c8d7289-2bf4-0310-a012-ef5d649a1542
  • Loading branch information
orbiter committed Feb 3, 2008
1 parent ff6b69b commit df548f4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions htroot/yacysearchitem.java
Expand Up @@ -145,6 +145,7 @@ public static serverObjects respond(httpHeader header, serverObjects post, serve
final Iterator<String> iter = topwords.iterator();
while (iter.hasNext()) {
word = (String) iter.next();
if ((theQuery == null) || (theQuery.queryString == null)) break;
if (word != null) {
prop.putHTML("references_words_" + hintcount + "_word", word);
prop.putHTML("references_words_" + hintcount + "_newsearch", theQuery.queryString.replace(' ', '+') + "+" + word);
Expand Down

0 comments on commit df548f4

Please sign in to comment.