Skip to content

Commit 5761ade

Browse files
authored
Fix to "allow for always reorder" (#504)
1 parent 417a20d commit 5761ade

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/code/core/Mage/Sales/Model/Order.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -869,7 +869,7 @@ public function canEdit()
869869
*/
870870
public function canReorder()
871871
{
872-
return $this->_canReorder(false);
872+
return $this->_canReorder(true);
873873
}
874874

875875
/**
@@ -890,7 +890,7 @@ public function canReorderIgnoreSalable()
890890
*/
891891
protected function _canReorder($ignoreSalable = false)
892892
{
893-
if ($this->canUnhold() || $this->isPaymentReview() || !$this->getCustomerId()) {
893+
if ($this->canUnhold() || $this->isPaymentReview()) {
894894
return false;
895895
}
896896

0 commit comments

Comments
 (0)