Commit 8149cde1 authored by Emiliano Balbuena's avatar Emiliano Balbuena

(fix): Operator relevance on CPM default

1 merge request!235WIP: Boost Campaigns (&24)
Pipeline #72525696 running with stages
......@@ -303,7 +303,7 @@ class PaymentsDelegate
*/
public function updateImpressionsByCpm(Campaign $campaign)
{
$cpm = (float) $this->config->get('boost')['cpm'] ?? 1;
$cpm = (float) ($this->config->get('boost')['cpm'] ?? 1);
if (!$cpm) {
throw new CampaignException('Missing CPM');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment