Skip to content
Permalink
Browse files

Fixed #451 Deleting a track throws notices

  • Loading branch information...
mennodekker committed Jun 19, 2019
1 parent 2c62523 commit 561d65c236db1e65064a59f4043b990e8291d2df
Showing with 1 addition and 1 deletion.
  1. +1 −1 classes/Gems/Tracker/Model/TrackModel.php
@@ -191,7 +191,7 @@ public function delete($filter = true)
// Now cascade to children, they should take care of further cascading
// Delete rounds
$trackEngine = $this->tracker->getTrackEngine($trackId);
$roundModel = $trackEngine->getRoundModel(false, index);
$roundModel = $trackEngine->getRoundModel(true, 'index');
$roundModel->delete(['gro_id_track' => $trackId]);
// Delete trackfields

0 comments on commit 561d65c

Please sign in to comment.
You can’t perform that action at this time.