bit3/contao-compat — pull request #4 by simmert (2014-01-22 18:10:37+00:00)
Title: Compatibility for FilesModel::findByPk() since Contao 3.2

Since Contao 3.2 FilesModel::findByPk() returns a Collection rather than a FilesModel if you feed it an ID instead of an UUID. This addresses this change.