Skip to content

Commit

Permalink
fix: include prio 16 campaigns
Browse files Browse the repository at this point in the history
  • Loading branch information
joostfaassen committed Apr 30, 2020
1 parent 852a0de commit d7775e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Model/Network.php
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ public function setCreativeSelector(CreativeSelectorInterface $creativeSelector)
public function postFilter($request, $campaigns)
{
// Select based on priority, then use campaignselector for campaigns with same priority
for ($priority = 0; $priority < 16; $priority++) {
for ($priority = 0; $priority <= 16; $priority++) {
$prioCampaigns = [];
foreach ($campaigns as $campaign) {
if ($campaign->getPriority()==$priority) {
Expand Down

0 comments on commit d7775e8

Please sign in to comment.