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

@@ -63,10 +63,10 @@ if($show_form) {
}
$twig->display('account.change_info.html.twig', array(
'countries' => isset($countries) ? $countries : [],
'countries' => $countries ?? [],
'account_rlname' => $account_rlname,
'account_location' => $account_location,
'account_country' => isset($account_country) ? $account_country : ''
'account_country' => $account_country ?? ''
));
}
?>