Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit efbcc0c

Browse filesBrowse files
authored
Update LocoProvider.php
1 parent 1d56b60 commit efbcc0c
Copy full SHA for efbcc0c

File tree

1 file changed

+1
-1
lines changed
Filter options

1 file changed

+1
-1
lines changed

‎src/Symfony/Component/Translation/Bridge/Loco/LocoProvider.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/Translation/Bridge/Loco/LocoProvider.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ public function write(TranslatorBagInterface $translatorBag): void
8181

8282
$assets = [];
8383
foreach ($keysIdsMap as $key => $id) {
84-
if (\array_key_exists($key, $messages)) {
84+
if (isset($messages[$key])) {
8585
$assets[$id] = $messages[$key];
8686
}
8787
}

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.