From 2d373c6f2095e11fe8a426cbafc350eb47864868 Mon Sep 17 00:00:00 2001 From: Matt Amos Date: Mon, 13 Oct 2008 14:29:30 +0000 Subject: [PATCH] Fix to_xml method of old_relation model. --- app/models/old_relation.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/old_relation.rb b/app/models/old_relation.rb index 428177755..10c76a758 100644 --- a/app/models/old_relation.rb +++ b/app/models/old_relation.rb @@ -91,7 +91,7 @@ class OldRelation < ActiveRecord::Base el1['id'] = self.id.to_s el1['visible'] = self.visible.to_s el1['timestamp'] = self.timestamp.xmlschema - el1['user'] = self.user.display_name if self.user.data_public? + el1['user'] = self.changeset.user.display_name if self.changeset.user.data_public? el1['version'] = self.version.to_s el1['changeset'] = self.changeset_id.to_s -- 2.39.5