Skip to content

Commit 0873cf1

Browse files
author
Nikita Sarychev
committed
fixed select field list in getStatusByState method
1 parent 238ce85 commit 0873cf1

File tree

1 file changed

+1
-1
lines changed
  • app/code/Magento/Sales/Model/ResourceModel/Order

1 file changed

+1
-1
lines changed

app/code/Magento/Sales/Model/ResourceModel/Order/Status.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ protected function getStatusByState($state)
257257
{
258258
return (string)$this->getConnection()->fetchOne(
259259
$select = $this->getConnection()->select()
260-
->from(['sss' => $this->stateTable, []])
260+
->from(['sss' => $this->stateTable], [])
261261
->where('state = ?', $state)
262262
->limit(1)
263263
->columns(['status'])

0 commit comments

Comments
 (0)