old albums didn't necessarily have these set
[booh] / bin / booh
index c1e1fca895cf79684af4a6fde45d882d02b4e6e6..47967456ed19d47d14163c080e735ba1afcdb798 100755 (executable)
--- a/bin/booh
+++ b/bin/booh
@@ -3200,8 +3200,8 @@ def properties
     if limit_sizes
         limit_sizes = limit_sizes.split(/,/)
     end
-    madewith = $xmldoc.root.attributes['made-with'].gsub(''', '\'')
-    indexlink = $xmldoc.root.attributes['index-link'].gsub(''', '\'')
+    madewith = ($xmldoc.root.attributes['made-with'] || '').gsub(''', '\'')
+    indexlink = ($xmldoc.root.attributes['index-link'] || '').gsub(''', '\'')
 
     tooltips = Gtk::Tooltips.new
     frame1 = Gtk::Frame.new(utf8(_("Locations"))).add(tbl = Gtk::Table.new(0, 0, false))