[XenForoBridge] Fix broken checks
This commit is contained in:
parent
65da157fff
commit
9c1c0f2974
1 changed files with 1 additions and 3 deletions
|
@ -76,9 +76,7 @@ class XenForoBridge extends BridgeAbstract {
|
|||
$this->threadurl = filter_var(
|
||||
$this->getInput('url'),
|
||||
FILTER_VALIDATE_URL,
|
||||
FILTER_FLAG_SCHEME_REQUIRED |
|
||||
FILTER_FLAG_HOST_REQUIRED |
|
||||
FILTER_FLAG_PATH_REQUIRED);
|
||||
FILTER_FLAG_SCHEME_REQUIRED | FILTER_FLAG_HOST_REQUIRED | FILTER_FLAG_PATH_REQUIRED);
|
||||
|
||||
if($this->threadurl === false) {
|
||||
returnClientError('The URL you provided is invalid!');
|
||||
|
|
Loading…
Reference in a new issue