Skip to content
Snippets Groups Projects
Commit 448b85d4 authored by Olav Morken's avatar Olav Morken
Browse files

Status-template: change to use $this->getTag(...) instead of $this->t(..., false).

git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@747 44740490-163a-0410-bde0-09ae8108e29a
parent 88ac736e
No related branches found
No related tags found
No related merge requests found
......@@ -19,7 +19,7 @@
foreach ($attributes AS $name => $value) {
$txtname = '<code style="color: blue">' . $name . '</code>';
if ($this->t('attribute_' . htmlspecialchars(strtolower($name)), false)) {
if ($this->getTag('attribute_' . htmlspecialchars(strtolower($name))) !== NULL) {
$txtname = $this->t('attribute_' . htmlspecialchars(strtolower($name))) . '<br /><code style="color: blue">' . $name . '</code>';
}
......
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