Skip to content

Commit

Permalink
stop considering profiles with no associated instutiton name "ready
Browse files Browse the repository at this point in the history
for showtime" -they can't be searched or found in any UI; would be
"Unnamed Entity" in the WebUI and "nothing" in geteduroam
  • Loading branch information
restena-sw committed Jul 14, 2023
1 parent 49499a7 commit 12626e4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions core/AbstractProfile.php
Original file line number Diff line number Diff line change
Expand Up @@ -767,6 +767,10 @@ private function readyForShowtime()
!isset($attribs['media:wired'])) {
$properConfig = FALSE;
}
// institutions without a name are not really a corner case we should support
if (!isset($attribs['general:inst_name'])) {
$properConfig = FALSE;
}
return $properConfig;
}

Expand Down

0 comments on commit 12626e4

Please sign in to comment.