Skip to content
Snippets Groups Projects
Commit 6de96f33 authored by Andreas Åkre Solberg's avatar Andreas Åkre Solberg
Browse files

Fix if description is not set..

git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@1169 44740490-163a-0410-bde0-09ae8108e29a
parent b6df1c45
No related branches found
No related tags found
No related merge requests found
......@@ -54,7 +54,11 @@ $classes = array('odd', 'even');
foreach($this->data['sortedOrgIndex'] as $orgkey) {
$res = $this->data['results'][$orgkey];
echo('<tr class="' . ($classes[($i++ % 2)]) . '">');
echo('<td>' . htmlspecialchars($this->getTranslation($this->data['orgconfig'][$orgkey]['description'])) . '</td>');
if (array_key_exists('description', $this->data['orgconfig'][$orgkey])) {
echo('<td>' . htmlspecialchars($this->getTranslation($this->data['orgconfig'][$orgkey]['description'])) . '</td>');
} else {
echo('<span style="color: #b4b4b4; font-size: x-small">NA</span>');
}
# echo('<td><tt>' . htmlspecialchars($orgkey) . '</tt></td>');
showRes('config', $res, $this);
showRes('configMeta', $res, $this);
......
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