Skip to content

Commit 1455708

Browse files
committed
fix(actors): use first / last name in generataed tickets
also fallback to login if they are empty fix #1016 Signed-off-by: btry <tbugier@teclib.com>
1 parent 3e1688a commit 1455708

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

inc/fields/actorfield.class.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ protected function sanitizeValue($value) {
212212
$user->getFromDB($item);
213213
if (!$user->isNewItem()) {
214214
// A user known in the DB
215-
$knownUsers[$user->getID()] = $user->getField('name');
215+
$knownUsers[$user->getID()] = $user->getRawName();
216216
}
217217
}
218218
}

0 commit comments

Comments
 (0)