Skip to content

Commit 384bd55

Browse files
committed
Update TranslationController.php
1 parent bda2db7 commit 384bd55

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/Http/Controllers/TranslationController.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -156,9 +156,10 @@ public function updateMultiPhrase(Translation $translation): JsonResponse
156156
continue;
157157
}
158158

159-
$phrase = Phrase::where('uuid', $phrase['uuid'])->first();
160159

161-
$phrase->update([
160+
$phraseNew = Phrase::where('uuid', $phrase['uuid'])->first();
161+
162+
$phraseNew->update([
162163
'value' => $phrase['value'],
163164
]);
164165
}

0 commit comments

Comments
 (0)