Commit b31cebac authored by Laurent Lécluse's avatar Laurent Lécluse
Browse files

Correction de bug du mouchard si pas d'utilisateur connecté

parent f1eba1aa
......@@ -22,7 +22,10 @@ class MouchardCompleterAuth implements MouchardCompleterInterface
public function complete(MouchardMessage $message)
$user = $this->getServiceUserContext()->getDbUser();
if ($user) $user = $user->getDisplayName();
return $this;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment