Skip to content

Commit 546bcf3

Browse files
mjansenDatabaychfsx
authored andcommitted
GlobalScreen: Fix undefined variable usage
1 parent e5263c8 commit 546bcf3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

components/ILIAS/GlobalScreen/src/Scope/Layout/MetaContent/Media/AbstractCollection.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ protected function isExternalURI(string $content): bool
6868
}
6969

7070
try {
71-
if ((new URI($url))->getHost() !== (new URI(ILIAS_HTTP_PATH))->getHost()) {
71+
if ((new URI($content))->getHost() !== (new URI(ILIAS_HTTP_PATH))->getHost()) {
7272
return true;
7373
}
7474
} catch (\Throwable) {

0 commit comments

Comments
 (0)