Skip to content

Commit 3205170

Browse files
committed
consistently call it gecos
1 parent f76b892 commit 3205170

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

webroot/admin/ajax/get_group_members.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,11 @@
2727
echo "<tr class='expanded $i'>";
2828
}
2929
$uid_escaped = htmlspecialchars($uid);
30-
$fullname = htmlspecialchars($attributes["gecos"][0]);
30+
$gecos = htmlspecialchars($attributes["gecos"][0]);
3131
$mail_link = "mailto:" . urlencode($attributes["mail"][0]);
3232
$mail_display = htmlspecialchars($attributes["mail"][0]);
3333
$gid_escaped = htmlspecialchars($group->gid);
34-
echo "<td>$fullname</td>";
34+
echo "<td>$gecos</td>";
3535
echo "<td>$uid_escaped</td>";
3636
echo "<td><a href='$mail_link'>$mail_display</a></td>";
3737
echo "<td>";
@@ -62,12 +62,12 @@
6262
} else {
6363
echo "<tr class='expanded $i'>";
6464
}
65-
$name = htmlspecialchars($user->getFullName());
65+
$gecos = htmlspecialchars($user->getFullName());
6666
$uid_escaped = htmlspecialchars($user->uid);
6767
$mail_link = "mailto:" . urlencode($user->getMail());
6868
$mail_display = htmlspecialchars($user->getMail());
6969
$gid_escaped = htmlspecialchars($group->gid);
70-
echo "<td>$name</td>";
70+
echo "<td>$gecos</td>";
7171
echo "<td>$uid_escaped</td>";
7272
echo "<td><a href='$mail_link'>$mail_display</a></td>";
7373
echo "<td>";

0 commit comments

Comments
 (0)