Skip to content

Commit 6e79dc6

Browse files
Update app/code/Magento/Sales/Block/Adminhtml/Order/View/Tab/History.php
Co-authored-by: Ihor Sviziev <ihor-sviziev@users.noreply.github.com>
1 parent f597b7a commit 6e79dc6

File tree

1 file changed

+1
-1
lines changed
  • app/code/Magento/Sales/Block/Adminhtml/Order/View/Tab

1 file changed

+1
-1
lines changed

app/code/Magento/Sales/Block/Adminhtml/Order/View/Tab/History.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -313,7 +313,7 @@ public static function sortHistoryByTimestamp($a, $b)
313313
$createdAtA = $a['created_at'];
314314
$createdAtB = $b['created_at'];
315315

316-
if( $createdAtA->getTimestamp() === $createdAtB->getTimestamp() ) {
316+
if ($createdAtA->getTimestamp() === $createdAtB->getTimestamp()) {
317317
if( $a['comment'] == 'Invoice created' || $b['comment'] == 'Invoice created' ) {
318318
return ( $a['comment'] == 'Invoice created' ? 1 : -1 );
319319
}

0 commit comments

Comments
 (0)