Pages() helper in 3.7

Hi, I updated from 3.6 to 3.7. On a template I used the pages() helper, it now throws this error:

Passing a single id to the pages() helper will return a Kirby\Cms\Pages collection with a single element instead of the single Kirby\Cms\Page object itself - starting in 3.7.0.

<?php $wimmelbildseiten = pages(['wimmelbild-probleme', 'wimmelbild-loesungen']);
foreach ($wimmelbildseiten as $wimmelbildseite): ?>
<?php endforeach?>

If I change the pages() helper into the page() helper it works, even I passed two IDs. It should be a collection.

Welcome in the future :joy:. Kirby 3.7 will definitely come in the future, but as of today, you can only update from 3.x to 3.6


oops :sweat_smile: