liquid_feedback_frontend
changeset 1527:802245716e0a
Fixed nil error when logging locations
author | bsw |
---|---|
date | Thu Aug 27 09:17:26 2020 +0200 (2020-08-27) |
parents | 628e1b9126c0 |
children | d8fd5b7832f9 |
files | lib/ontomap/ontomap.lua |
line diff
1.1 --- a/lib/ontomap/ontomap.lua Thu Aug 20 15:55:04 2020 +0200 1.2 +++ b/lib/ontomap/ontomap.lua Thu Aug 27 09:17:26 2020 +0200 1.3 @@ -209,7 +209,7 @@ 1.4 local log_event = new_log_event(event, event.member_id, "object_created") 1.5 1.6 local location = event.initiative.location 1.7 - if location.marker_link then 1.8 + if location and location.marker_link then 1.9 local marker_link = location.marker_link 1.10 location.marker_link = nil 1.11 table.insert(log_event.references, new_reference_object(