We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bf3fc13 commit 11ba3e9Copy full SHA for 11ba3e9
1 file changed
app/Models/Foundation/Summit/Events/Presentations/Presentation.php
@@ -2192,6 +2192,9 @@ public function setCategory(PresentationCategory $category)
2192
// then we need to clear up all selections ( individual / team)
2193
$this->selected_presentations->clear();
2194
}
2195
+ if($this->hasSelectionPlan() && !$this->selection_plan->hasTrack($category)){
2196
+ $this->clearSelectionPlan();
2197
+ }
2198
return parent::setCategory($category);
2199
2200
0 commit comments