Fixed object reference privacy in XML reading
svn: r459
This commit is contained in:
parent
2bb2849b7f
commit
c9422095ac
@ -450,6 +450,8 @@ class GrampsParser(handler.ContentHandler):
|
||||
def start_objref(self,attrs):
|
||||
self.objref = ObjectRef()
|
||||
self.objref.setReference(self.db.findObjectNoMap(u2l(attrs['ref'])))
|
||||
if attrs.has_key('priv'):
|
||||
self.objref.setPrivacy(int(u2l(attrs['priv'])))
|
||||
if self.family:
|
||||
self.family.addPhoto(self.objref)
|
||||
elif self.source:
|
||||
|
Loading…
Reference in New Issue
Block a user