found solution in forum.
http://forum.openstreetmap.org/viewtopic.php?id=7256

its a post from october 2011 and isn't commited yet?




--- a/app/models/relation.rb
+++ b/app/models/relation.rb
@@ -126,7 +126,7 @@ class Relation < ActiveRecord::Base
         end
       else
         # otherwise, manually go to the db to check things
-        if member.member.visible?
+        if member.member and member.member.visible?
           p=1
         end
       end

martin
_______________________________________________
dev mailing list
[email protected]
http://lists.openstreetmap.org/listinfo/dev

Reply via email to