Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion app/code/core/Mage/Core/Model/Session.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@
* @method $this setCurrencyCode(string $value)
* @method $this setFormData(array $value)
* @method int getJustVotedPoll()
* @method array getOrderIds()
* @method $this setOrderIds(array $value)
* @method $this setJustVotedPoll(int $value)
* @method $this setLastUrl(string $value)
Expand Down Expand Up @@ -75,4 +74,9 @@ public function validateFormKey($formKey)
{
return ($formKey === $this->getFormKey());
}

public function getOrderIds(bool $clear = false): array
{
return $this->getData('order_ids', $clear) ?? [];
}
}
Loading