Skip to content

Commit

Permalink
fix(actors): use first / last name in generataed tickets
Browse files Browse the repository at this point in the history
also fallback to login if they are empty

fix #1016

Signed-off-by: btry <tbugier@teclib.com>
  • Loading branch information
btry committed Aug 9, 2018
1 parent 3e1688a commit 1455708
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inc/fields/actorfield.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ protected function sanitizeValue($value) {
$user->getFromDB($item);
if (!$user->isNewItem()) {
// A user known in the DB
$knownUsers[$user->getID()] = $user->getField('name');
$knownUsers[$user->getID()] = $user->getRawName();
}
}
}
Expand Down

0 comments on commit 1455708

Please sign in to comment.