mirror of
https://github.com/slawkens/myaac.git
synced 2025-10-21 13:03:27 +02:00
shorten some expressions with ??
This commit is contained in:
@@ -16,10 +16,10 @@ if(!$logged)
|
||||
$twig->display('error_box.html.twig', array('errors' => $errors));
|
||||
|
||||
$twig->display('account.login.html.twig', array(
|
||||
'redirect' => isset($_REQUEST['redirect']) ? $_REQUEST['redirect'] : null,
|
||||
'redirect' => $_REQUEST['redirect'] ?? null,
|
||||
'account' => USE_ACCOUNT_NAME ? 'Name' : 'Number',
|
||||
'account_login_by' => getAccountLoginByLabel(),
|
||||
'error' => isset($errors[0]) ? $errors[0] : null
|
||||
'error' => $errors[0] ?? null
|
||||
));
|
||||
|
||||
return;
|
||||
|
Reference in New Issue
Block a user