Code standards
This commit is contained in:
parent
310d49b82a
commit
99a33b7335
2 changed files with 1 additions and 3 deletions
|
@ -2016,8 +2016,7 @@ class App
|
|||
*/
|
||||
public function redirect($toUrl)
|
||||
{
|
||||
if (filter_var($toUrl, FILTER_VALIDATE_URL))
|
||||
{
|
||||
if (filter_var($toUrl, FILTER_VALIDATE_URL)) {
|
||||
Core\System::externalRedirect($toUrl);
|
||||
} else {
|
||||
$this->internalRedirect($toUrl);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue