diff options
author | Jochen Topf <jochen@topf.org> | 2013-02-11 09:30:33 +0100 |
---|---|---|
committer | Jochen Topf <jochen@topf.org> | 2013-02-11 09:30:33 +0100 |
commit | fbcfeb0b4b0ea030037976e648710ab3754f45ff (patch) | |
tree | 97540691ebfcbafcde50f72f4780c2235d416b44 /web | |
parent | d83a79f970d6d6f4f857c78e8041021780fa4141 (diff) | |
download | taginfo-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.rb | 2 |
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, |