We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bda2db7 commit 384bd55Copy full SHA for 384bd55
src/Http/Controllers/TranslationController.php
@@ -156,9 +156,10 @@ public function updateMultiPhrase(Translation $translation): JsonResponse
156
continue;
157
}
158
159
- $phrase = Phrase::where('uuid', $phrase['uuid'])->first();
160
161
- $phrase->update([
+ $phraseNew = Phrase::where('uuid', $phrase['uuid'])->first();
+
162
+ $phraseNew->update([
163
'value' => $phrase['value'],
164
]);
165
0 commit comments