shorten some expressions with ??

This commit is contained in:
slawkens
2023-02-06 20:05:01 +01:00
parent 56bd2c86b7
commit 4eb9bbbbcf
7 changed files with 19 additions and 19 deletions

View File

@@ -56,7 +56,7 @@ if(!$logged && isset($_POST['account_login'], $_POST['password_login']))
$tmp = array();
$ip = $_SERVER['REMOTE_ADDR'];
$t = isset($tmp[$ip]) ? $tmp[$ip] : NULL;
$t = $tmp[$ip] ?? null;
}
if(config('recaptcha_enabled') && !config('account_create_auto_login'))