projects
/
yaffs-website
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website]
/
vendor
/
symfony
/
translation
/
Loader
/
MoFileLoader.php
diff --git
a/vendor/symfony/translation/Loader/MoFileLoader.php
b/vendor/symfony/translation/Loader/MoFileLoader.php
index aad2bba2204372f292083fc2c508d3eb012b2f77..93ecffa6655060752a39dc2d574f34c0e817ecdf 100644
(file)
--- a/
vendor/symfony/translation/Loader/MoFileLoader.php
+++ b/
vendor/symfony/translation/Loader/MoFileLoader.php
@@
-111,7
+111,7
@@
class MoFileLoader extends FileLoader
$ids = array('singular' => $singularId, 'plural' => $pluralId);
$item = compact('ids', 'translated');
$ids = array('singular' => $singularId, 'plural' => $pluralId);
$item = compact('ids', 'translated');
- if (is_array($item['translated'])) {
+ if (
\
is_array($item['translated'])) {
$messages[$item['ids']['singular']] = stripcslashes($item['translated'][0]);
if (isset($item['ids']['plural'])) {
$plurals = array();
$messages[$item['ids']['singular']] = stripcslashes($item['translated'][0]);
if (isset($item['ids']['plural'])) {
$plurals = array();