Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix accessing Model\Collection instead of Model in ModuleFaqPage (see c…
…ontao#2788) Description ----------- | Q | A | -----------------| --- | Fixed issues | Fixes contao#2786 | Docs PR or issue | - `$figureBuilder->setMetadata($objFaq->getOverwriteMetadata())` was failing because `$objFaq` is a `Model\Collection` instead of a `Model`. To prevent this rather hard to spot error in the future, I adjusted how we're iterating over the results instead. Commits ------- ff2f8b9 iterate over FaqModels instead of operating on Model\Collection c2934f0 Merge branch '4.11' into bugfix/module-faq-model-collection
- Loading branch information