summaryrefslogtreecommitdiff
path: root/web
diff options
context:
space:
mode:
authorJochen Topf <jochen@topf.org>2013-02-11 09:30:33 +0100
committerJochen Topf <jochen@topf.org>2013-02-11 09:30:33 +0100
commitfbcfeb0b4b0ea030037976e648710ab3754f45ff (patch)
tree97540691ebfcbafcde50f72f4780c2235d416b44 /web
parentd83a79f970d6d6f4f857c78e8041021780fa4141 (diff)
downloadtaginfo-fbcfeb0b4b0ea030037976e648710ab3754f45ff.tar
taginfo-fbcfeb0b4b0ea030037976e648710ab3754f45ff.tar.gz
Fixed another case of null in description as in last commit
Diffstat (limited to 'web')
-rw-r--r--web/lib/utils.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/lib/utils.rb b/web/lib/utils.rb
index 846d39f..599f5f8 100644
--- a/web/lib/utils.rb
+++ b/web/lib/utils.rb
@@ -144,7 +144,7 @@ def get_wiki_result(res)
:language => ::Language[row['lang']].native_name,
:language_en => ::Language[row['lang']].english_name,
:title => row['title'],
- :description => row['description'],
+ :description => row['description'] || '',
:image => {
:title => row['image'],
:width => row['width'].to_i,