mirror of
https://github.com/slawkens/myaac.git
synced 2025-10-20 20:43:26 +02:00
shorten some expressions with ??
This commit is contained in:
@@ -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'))
|
||||
|
Reference in New Issue
Block a user