diff --git a/resources/views/resultpages/metager3resultsatom10.blade.php b/resources/views/resultpages/metager3resultsatom10.blade.php index bac794143887f5ff54ded6dee5ef37d9d5eda26a..62b6b87368b186ea989877196f74ecf552098b9d 100644 --- a/resources/views/resultpages/metager3resultsatom10.blade.php +++ b/resources/views/resultpages/metager3resultsatom10.blade.php @@ -12,8 +12,8 @@ <id>urn:uuid:1d634a8c-2764-424f-b082-6c96494b7240</id> @include('layouts.atom10ad', ['ad' => $metager->popAd()]) @if($apiAuthorized) - @foreach($metager->getResults() as $result) - @if($result->number % 5 === 0) + @foreach($metager->getResults() as $index => $result) + @if(($index+1) % 5 === 0) @include('layouts.atom10ad', ['ad' => $metager->popAd()]) @endif <entry>