Fix translation yet forced on tags

This commit is contained in:
Ludovic CANDELLIER
2021-08-26 13:42:58 +02:00
parent cfd8086586
commit 27c5663ba1
2 changed files with 1 additions and 2 deletions

View File

@@ -56,6 +56,7 @@ class Tags
{
$id = $id ? $id : $data['id'];
$tag = Tag::find($id);
$data['name'] = ['fr' => $data['name']];
$tag->update($data);
return $tag;
}