Skip to content

Commit d836647

Browse files
committed
1 parent 0fc5ff9 commit d836647

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

app/code/core/Mage/Core/Model/Session.php

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@
2424
* @method $this setCurrencyCode(string $value)
2525
* @method $this setFormData(array $value)
2626
* @method int getJustVotedPoll()
27-
* @method array getOrderIds()
2827
* @method $this setOrderIds(array $value)
2928
* @method $this setJustVotedPoll(int $value)
3029
* @method $this setLastUrl(string $value)
@@ -71,4 +70,9 @@ public function validateFormKey($formKey)
7170
{
7271
return ($formKey === $this->getFormKey());
7372
}
73+
74+
public function getOrderIds(bool $clear = false): array
75+
{
76+
return $this->getData('order_ids', $clear) ?? [];
77+
}
7478
}

0 commit comments

Comments
 (0)