Skip to content
Snippets Groups Projects
Unverified Commit 0fe45317 authored by Tim van Dijen's avatar Tim van Dijen Committed by GitHub
Browse files

Remove old behaviour

parent 11e83a42
No related branches found
No related tags found
No related merge requests found
...@@ -11,7 +11,7 @@ class sspmod_statistics_Statistics_FieldPresentation_Entity extends sspmod_stati ...@@ -11,7 +11,7 @@ class sspmod_statistics_Statistics_FieldPresentation_Entity extends sspmod_stati
foreach ($this->fields as $field) { foreach ($this->fields as $field) {
if (array_key_exists($field, $metadata)) { if (array_key_exists($field, $metadata)) {
if (array_key_exists('name', $metadata[$field])) { if (array_key_exists('name', $metadata[$field])) {
$translation[$field] = $this->template->t($metadata[$field]['name'], array(), false); $translation[$field] = $this->template->t($metadata[$field]['name']);
} }
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment