Loading Api/Api.php +2 −1 Original line number Original line Diff line number Diff line Loading @@ -24,9 +24,10 @@ abstract class Api implements \Minds\Interfaces\Api $lastHeader = end($this->accessControlAllowHeaders); $lastHeader = end($this->accessControlAllowHeaders); foreach ($this->accessControlAllowHeaders as $header) { foreach ($this->accessControlAllowHeaders as $header) { $output .= $header; $output .= $header; if ($header !== $lastHeader) if ($header !== $lastHeader) { $output .= ","; $output .= ","; } } } return $output; return $output; } } Loading Core/Analytics/EntityCentric/BoostViewsDaily.php +2 −1 Original line number Original line Diff line number Diff line Loading @@ -51,8 +51,9 @@ class BoostViewsDaily protected function query(): void protected function query(): void { { if (!empty($this->dailyViews)) if (!empty($this->dailyViews)) { return; return; } $prepared = new Search(); $prepared = new Search(); $prepared->query($this->buildQuery()); $prepared->query($this->buildQuery()); Loading Loading
Api/Api.php +2 −1 Original line number Original line Diff line number Diff line Loading @@ -24,9 +24,10 @@ abstract class Api implements \Minds\Interfaces\Api $lastHeader = end($this->accessControlAllowHeaders); $lastHeader = end($this->accessControlAllowHeaders); foreach ($this->accessControlAllowHeaders as $header) { foreach ($this->accessControlAllowHeaders as $header) { $output .= $header; $output .= $header; if ($header !== $lastHeader) if ($header !== $lastHeader) { $output .= ","; $output .= ","; } } } return $output; return $output; } } Loading
Core/Analytics/EntityCentric/BoostViewsDaily.php +2 −1 Original line number Original line Diff line number Diff line Loading @@ -51,8 +51,9 @@ class BoostViewsDaily protected function query(): void protected function query(): void { { if (!empty($this->dailyViews)) if (!empty($this->dailyViews)) { return; return; } $prepared = new Search(); $prepared = new Search(); $prepared->query($this->buildQuery()); $prepared->query($this->buildQuery()); Loading