Skip to content

Commit

Permalink
session type to be scoped within the event
Browse files Browse the repository at this point in the history
  • Loading branch information
ij committed Jul 6, 2015
1 parent 6461fff commit fa0367f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/sf/session.rb
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def proposal_attrs
attrs['submitter_phone__c'] = self.proposal.submitter_phone
attrs['cms_proposal_id__c'] = self.proposal.id
if session_type_id = self.proposal.session_type_id
sf_session_type = Sf::SessionType.find_by(reg_event_id__c: sf_event.Id, cms_session_type_id__c: session_type_id)
sf_session_type = Sf::SessionType.find_by(reg_event__c: sf_event.Id, cms_session_type_id__c: session_type_id)
attrs['session_type__c'] = sf_session_type.Id unless sf_session_type.blank?
end
if primary_track_id = self.proposal.primary_track_id
Expand Down

0 comments on commit fa0367f

Please sign in to comment.