Skip to content

Commit

Permalink
cleanup: remove warning
Browse files Browse the repository at this point in the history
  • Loading branch information
prigaux committed Jan 18, 2022
1 parent caa1c13 commit dafadd3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/supannPerson.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -706,6 +706,7 @@ function civilite_to_gender_suffix($civilite) {
}

function all_to_name_with_gender_no_fallback($all, $user) {
$name = null;
if (isset($user['supannCivilite'])) {
$name = @$all['name' . civilite_to_gender_suffix($user['supannCivilite'])];
}
Expand Down

0 comments on commit dafadd3

Please sign in to comment.