Skip to content

Commit

Permalink
Merge pull request #610 from railto/fix_talks
Browse files Browse the repository at this point in the history
Fixes issue with creating a talk.
  • Loading branch information
Mark Railton authored Oct 27, 2018
2 parents 781ecb7 + bf0ebd8 commit 5318f36
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/models/TalkMapper.php
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 5318f36

Please sign in to comment.