jessedobbelaere/fork-cms-module-discography — pull request #2 by ikoene (2014-04-13 17:27:41+00:00)
Title: removed bug which allowed to save an existing album without tracks

When validating a saved (existing) album, $this->tracks was used to count the tracks. $this->tracks did not however contain the new (possible updated) tracks, which allowed an album to be saved without tracks. Once an album was saved without tracks, it was impossible to add tracks because $this->tracks always contains zero tracks.

This should fix it.