Skip to content

Commit 477301b

Browse files
committed
Fix bug with unclosed html element in discopower
1 parent 9fe8d97 commit 477301b

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

themes/ssp/discopower/disco-tpl.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,8 +83,9 @@ function showEntry($t, $metadata, $favourite = FALSE, $withIcon = FALSE) {
8383
$html = '<a class="metaentry ssp-btn ' . $css_button_type . ' ' . $css_classname . '" href="' . $basequerystring . urlencode($metadata['entityid']) . '">';
8484
$html .= '<img alt="Identity Provider" class="entryicon" src="' . SimpleSAML_Module::getModuleURL('themevanilla/resources/images/' . $filename ) . '" />';
8585
if (isset($label)) {
86-
$html .= '<span>' . $label . '</span></a>';
86+
$html .= '<span>' . $label . '</span>';
8787
}
88+
$html .= '</a>';
8889
}
8990
else {
9091
$html = '<a class="metaentry " href="' . $basequerystring . urlencode($metadata['entityid']) . '">';

0 commit comments

Comments
 (0)