Skip to content

Commit

Permalink
OM PR 4418
Browse files Browse the repository at this point in the history
  • Loading branch information
fballiano committed Dec 19, 2024
1 parent 0fc5ff9 commit d836647
Showing 1 changed file with 5 additions and 1 deletion.
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 @@ -24,7 +24,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 @@ -71,4 +70,9 @@ public function validateFormKey($formKey)
{
return ($formKey === $this->getFormKey());
}

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

0 comments on commit d836647

Please sign in to comment.