# HG changeset patch # User bsw # Date 1598512646 -7200 # Node ID 802245716e0a52503e2d9c30ec6b0543ffb446fc # Parent 628e1b9126c0c7c09b92d2b29ea7cdfebbcb8482 Fixed nil error when logging locations diff -r 628e1b9126c0 -r 802245716e0a lib/ontomap/ontomap.lua --- a/lib/ontomap/ontomap.lua Thu Aug 20 15:55:04 2020 +0200 +++ b/lib/ontomap/ontomap.lua Thu Aug 27 09:17:26 2020 +0200 @@ -209,7 +209,7 @@ local log_event = new_log_event(event, event.member_id, "object_created") local location = event.initiative.location - if location.marker_link then + if location and location.marker_link then local marker_link = location.marker_link location.marker_link = nil table.insert(log_event.references, new_reference_object(