Skip to content
Snippets Groups Projects
Commit 9c32b516 authored by Jaime Pérez's avatar Jaime Pérez
Browse files

bugfix: Using $t instead of $this in a template context.

parent 768ed84e
No related branches found
No related tags found
No related merge requests found
......@@ -88,7 +88,7 @@ if ($this->data['isadmin']) {
foreach ($this->data['funcmatrix'] AS $func) {
echo '<tr class="' . ($func['enabled'] ? 'enabled' : 'disabled') . '"><td>' . ($func['enabled'] ? $icon_enabled : $icon_disabled) . '</td>';
echo '<td>' . $this->t($t->data['requiredmap'][$func['required']]) . '</td><td>' . $func['descr'] . '</td></tr>';
echo '<td>' . $this->t($this->data['requiredmap'][$func['required']]) . '</td><td>' . $func['descr'] . '</td></tr>';
}
echo('</table></div>');
}
......
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