Merge branch 'master' into history
[potlatch2.git] / net / systemeD / halcyon / connection / Relation.as
index 5fd9230c9270cd60140e18c6d71df3da0d1b452d..999643f3649b1eb6d7d35d0ac2c270713b192936 100644 (file)
@@ -6,8 +6,8 @@ package net.systemeD.halcyon.connection {
         private var members:Array;
                public static var entity_type:String = 'relation';
 
-        public function Relation(id:Number, version:uint, tags:Object, loaded:Boolean, members:Array, uid:Number = NaN, timestamp:String = null, user:String = null) {
-            super(id, version, tags, loaded, uid, timestamp, user);
+        public function Relation(connection:Connection, id:Number, version:uint, tags:Object, loaded:Boolean, members:Array, uid:Number = NaN, timestamp:String = null, user:String = null) {
+            super(connection, id, version, tags, loaded, uid, timestamp, user);
             this.members = members;
                        for each (var member:RelationMember in members)
                            member.entity.addParent(this);