From ad50b55cb688d20f26ae333ed342be06c00a0ccc Mon Sep 17 00:00:00 2001 From: Alexandru Csete Date: Sat, 13 Feb 2016 22:21:23 +0100 Subject: [PATCH] Import ADIF 'comment' field in addition to 'notes'. PS: Perhaps 'notes' should go into COL_NOTES instead. --- application/models/logbook_model.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/application/models/logbook_model.php b/application/models/logbook_model.php index 0f0e2710..73b800ef 100644 --- a/application/models/logbook_model.php +++ b/application/models/logbook_model.php @@ -735,7 +735,9 @@ class Logbook_model extends CI_Model { } // Store Notes - if(isset($record['notes'])) { + if (isset($record['comment'])) { + $comment = $record['comment']; + } else if (isset($record['notes'])) { $comment = $record['notes']; } else { $comment = "";