diff --git a/src/models/TalkMapper.php b/src/models/TalkMapper.php index 080853e47..a2a66213e 100644 --- a/src/models/TalkMapper.php +++ b/src/models/TalkMapper.php @@ -370,7 +370,7 @@ public function createTalk(array $data) // TODO map from the field mappings in getVerboseFields() $sql = ' insert into talks (event_id, talk_title, talk_desc, - slides_link, lang, date_given, duration) + lang, date_given, duration) values (:event_id, :talk_title, :talk_description, (select ID from lang where lang_name = :language), :date, :duration)