Commit 274fe8b6 authored by Mathias Bolt Lesniak's avatar Mathias Bolt Lesniak Committed by Sebastian Kotte
Browse files

Apply suggestion to extensions/karma/Classes/Controller/UserDisplayController.php

parent 4f5e5f7d
...@@ -51,7 +51,7 @@ class UserDisplayController extends AbstractController ...@@ -51,7 +51,7 @@ class UserDisplayController extends AbstractController
$sourceTotals = []; $sourceTotals = [];
foreach ($this->getKarmaSourceCodes() as $sourceCode) { foreach ($this->getKarmaSourceCodes() as $sourceCode) {
$value = $this->karmaService->getImmutableKarmaSourceTotalForUser($sourceCode, $frontendUser); $value = $this->karmaService->getImmutableKarmaSourceTotalForUser($sourceCode, $frontendUser);
$sourceTotals[$sourceCode] = $value; $sourceTotals[$sourceCode] = $this->karmaService->getImmutableKarmaSourceTotalForUser($sourceCode, $frontendUser);
} }
$this->view->assign('immutableValue', $immutableValue); $this->view->assign('immutableValue', $immutableValue);
......
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