File tree Expand file tree Collapse file tree 2 files changed +11
-2
lines changed
app/code/Magento/Eav/Model/Entity
lib/internal/Magento/Framework/Stdlib/DateTime/Filter Expand file tree Collapse file tree 2 files changed +11
-2
lines changed Original file line number Diff line number Diff line change @@ -278,7 +278,11 @@ public function getEntityIdField()
278
278
*/
279
279
public function getEntityTable ()
280
280
{
281
- return isset ($ this ->_data ['entity_table ' ]) ? $ this ->_data ['entity_table ' ] : null ;
281
+ if (isset ($ this ->_data ['entity_table ' ])) {
282
+ return $ this ->getResource ()->getTable ($ this ->_data ['entity_table ' ]);
283
+ }
284
+
285
+ return null ;
282
286
}
283
287
284
288
/**
Original file line number Diff line number Diff line change @@ -52,6 +52,11 @@ public function __construct(TimezoneInterface $localeDate)
52
52
*/
53
53
public function filter ($ value )
54
54
{
55
- return $ this ->_normalToLocalFilter ->filter ($ this ->_localToNormalFilter ->filter ($ value ));
55
+ $ value = $ this ->_normalToLocalFilter ->filter ($ this ->_localToNormalFilter ->filter ($ value ));
56
+
57
+ /**
58
+ * @todo MAGETWO-51391
59
+ */
60
+ return str_replace ("\xc2\xa0" , '' , $ value );
56
61
}
57
62
}
You can’t perform that action at this time.
0 commit comments