mirror of
https://github.com/friendica/friendica
synced 2024-12-22 17:20:16 +00:00
Use standard boolean operator
This commit is contained in:
parent
c7937300db
commit
f32592e148
1 changed files with 1 additions and 1 deletions
|
@ -230,7 +230,7 @@ class CurlResult implements ICanHandleHttpResponses
|
|||
|
||||
$this->redirectUrl = (string)Uri::fromParts((array)$redirect_parts);
|
||||
$this->isRedirectUrl = true;
|
||||
$this->redirectIsPermanent = $this->returnCode == 301 or $this->returnCode == 308;
|
||||
$this->redirectIsPermanent = $this->returnCode == 301 || $this->returnCode == 308;
|
||||
} else {
|
||||
$this->isRedirectUrl = false;
|
||||
$this->redirectIsPermanent = false;
|
||||
|
|
Loading…
Reference in a new issue