Skip to content

Commit 443805a

Browse files
Update src/Adapters/Facebook/OEmbed.php
Co-authored-by: Oscar Otero <[email protected]>
1 parent 0d9c354 commit 443805a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Adapters/Facebook/OEmbed.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ protected function detectEndpoint(): ?UriInterface
2323
$uri = $this->extractor->getUri();
2424
if (strpos($uri->getPath(), 'login') !== false) {
2525
parse_str($uri->getQuery(), $params);
26-
if (isset($params['next']) && $params['next']) {
26+
if (!empty($params['next'])) {
2727
$uri = $this->extractor->getCrawler()->createUri($params['next']);
2828
}
2929
}

0 commit comments

Comments
 (0)