old albums didn't necessarily have these set
authorgc <gc>
Sat, 23 Feb 2008 23:15:28 +0000 (23:15 +0000)
committergc <gc>
Sat, 23 Feb 2008 23:15:28 +0000 (23:15 +0000)
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
     if limit_sizes
         limit_sizes = limit_sizes.split(/,/)
     end
-    madewith = $xmldoc.root.attributes['made-with'].gsub('&#39;', '\'')
-    indexlink = $xmldoc.root.attributes['index-link'].gsub('&#39;', '\'')
+    madewith = ($xmldoc.root.attributes['made-with'] || '').gsub('&#39;', '\'')
+    indexlink = ($xmldoc.root.attributes['index-link'] || '').gsub('&#39;', '\'')
 
     tooltips = Gtk::Tooltips.new
     frame1 = Gtk::Frame.new(utf8(_("Locations"))).add(tbl = Gtk::Table.new(0, 0, false))
 
     tooltips = Gtk::Tooltips.new
     frame1 = Gtk::Frame.new(utf8(_("Locations"))).add(tbl = Gtk::Table.new(0, 0, false))