Skip to content

Commit

Permalink
Correct check
Browse files Browse the repository at this point in the history
  • Loading branch information
rjzondervan committed Nov 28, 2024
1 parent 43b50f5 commit e17b798
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Service/DirectoryService.php
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,7 @@ private function checkConditions(string $url): void
}

// Validate the URL
if (empty(filter_var($url, FILTER_VALIDATE_URL)) === false) {
if (filter_var($url, FILTER_VALIDATE_URL) === false) {
throw new DirectoryUrlException('Invalid URL provided');
}
}
Expand Down

0 comments on commit e17b798

Please sign in to comment.