Don't show suggestions if there aren't any. fix #2153

This commit is contained in:
Ruud
2013-09-22 10:47:13 +02:00
parent 03700e0a04
commit 2365e1859f
2 changed files with 48 additions and 43 deletions
+1 -1
View File
@@ -102,6 +102,6 @@ class Suggestion(Plugin):
if suggestions:
new_suggestions.extend(suggestions)
self.setCache('suggestion_cached', new_suggestions, timeout = 6048000)
self.setCache('suggestion_cached', new_suggestions, timeout = 3024000)
return new_suggestions