Skip to content

Commit

Permalink
Fix #7461 using the simplest approach for now
Browse files Browse the repository at this point in the history
  • Loading branch information
lazyguru committed Jan 25, 2017
1 parent c86d777 commit ad37f3d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/code/Magento/Eav/Model/Attribute/Data/AbstractData.php
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ protected function _getFormFilter()
if ($filterCode) {
$filterClass = 'Magento\Framework\Data\Form\Filter\\' . ucfirst($filterCode);
if ($filterCode == 'date') {
$filter = new $filterClass($this->_dateFilterFormat(), $this->_localeResolver->getLocale());
$filter = new $filterClass($this->_dateFilterFormat(), $this->_localeResolver);
} else {
$filter = new $filterClass();
}
Expand Down

0 comments on commit ad37f3d

Please sign in to comment.