Commit 80fd9fd9 authored by Mathias Bolt Lesniak's avatar Mathias Bolt Lesniak
Browse files

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

parent aa6f2f45
Pipeline #6168 passed with stages
in 2 minutes and 35 seconds
......@@ -51,7 +51,7 @@ class UserDisplayController extends AbstractController
$sourceTotals = [];
foreach ($this->getKarmaSourceCodes() as $sourceCode) {
$value = $this->karmaService->getImmutableKarmaSourceTotalForUser($sourceCode, $frontendUser);
$sourceTotals[$sourceCode] = $value;
$sourceTotals[$sourceCode] = $this->karmaService->getImmutableKarmaSourceTotalForUser($sourceCode, $frontendUser);
$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