Commit 7ad2e0e6 authored by Clément OUDOT's avatar Clément OUDOT

Remove warning in unit tests (\!61)

parent 9d4fb245
......@@ -41,11 +41,11 @@ sub serviceToXML {
samlOrganizationURL
);
if ($type eq 'idp') {
if ($type and $type eq 'idp') {
$template->param( 'hideSPMetadata', 1);
}
if ($type eq 'sp') {
if ($type and $type eq 'sp') {
$template->param( 'hideIDPMetadata', 1);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment