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 afdbb5a commit c09b314Copy full SHA for c09b314
lib/internal/Magento/Framework/Locale/Bundle/DataBundle.php
@@ -28,7 +28,7 @@ public function get($locale)
28
$class = get_class($this);
29
if (!isset(static::$bundles[$class][$locale])) {
30
$bundle = new \ResourceBundle($locale, $this->path);
31
- if ($bundle->count() == 0 && $this->path != 'ICUDATA') {
+ if (!$bundle && $this->path != 'ICUDATA') {
32
$bundle = new \ResourceBundle($locale, 'ICUDATA');
33
}
34
static::$bundles[$class][$locale] = $bundle;
0 commit comments