Skip to content

Commit ba36a56

Browse files
committed
[spalenque] - #12942 * exclude lightning talks on call for presentations form
1 parent f9d303e commit ba36a56

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

summit/code/forms/PresentationForm.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,10 @@ protected function getPresentationFields() {
7070
}
7171

7272
usort($category_groups_map, function($a, $b) { return strcmp($a["title"], $b["title"]); });
73-
$types = PresentationType::get()->filter('SummitID', $this->summit->ID)->exclude('Type', IPresentationType::Keynotes);
73+
$types = PresentationType::get()
74+
->filter('SummitID', $this->summit->ID)
75+
->exclude('Type', [IPresentationType::Keynotes, IPresentationType::LightingTalks]);
76+
7477
$instructions = '(';
7578
foreach($types as $type){
7679
$instructions .= $type->Type;

0 commit comments

Comments
 (0)