Skip to content
Snippets Groups Projects
Commit c99c0ba8 authored by Dominik Hebeler's avatar Dominik Hebeler
Browse files

Bugfix

parent a4bf62b6
No related branches found
No related tags found
1 merge request!1400Development
......@@ -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>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment