Skip to content

Commit

Permalink
Removed slides_link from initial creation
Browse files Browse the repository at this point in the history
  • Loading branch information
Mark Railton committed Oct 27, 2018
1 parent 73252af commit b8f92bc
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/models/TalkMapper.php
Original file line number Diff line number Diff line change
Expand Up @@ -369,9 +369,9 @@ 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)
values (:event_id, :talk_title, :talk_description, :slides_link,
insert into talks (event_id, talk_title, talk_desc,
lang, date_given, duration)
values (:event_id, :talk_title, :talk_description,
(select ID from lang where lang_name = :language),
:date, :duration)
';
Expand All @@ -384,7 +384,6 @@ public function createTalk(array $data)
':language' => $data['language'],
':date' => $data['date'],
':duration' => $data['duration'],
':slides_link' => $data['slides_link'],
));
$talk_id = $this->_db->lastInsertId();

Expand Down

0 comments on commit b8f92bc

Please sign in to comment.