mirror of
https://github.com/friendica/friendica
synced 2025-04-19 08:30:11 +00:00
Simplified null check
This commit is contained in:
parent
4a6d33e182
commit
8a5560ec8f
7 changed files with 14 additions and 14 deletions
|
@ -36,7 +36,7 @@ class Login extends BaseModule
|
|||
{
|
||||
public static function content(array $parameters = [])
|
||||
{
|
||||
$return_path = !isset($_REQUEST['return_path']) ? '' : $_REQUEST['return_path'];
|
||||
$return_path = $_REQUEST['return_path'] ?? '' ;
|
||||
|
||||
if (local_user()) {
|
||||
DI::baseUrl()->redirect($return_path);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue