This commit is contained in:
Cüneyt Şentürk 2022-11-03 11:07:06 +03:00
parent daa76f2d98
commit a1ca036a9d

View File

@ -18,6 +18,10 @@ class PaymentMethod extends Form
*/ */
public function render() public function render()
{ {
if (empty($this->name)) {
$this->name = 'payment_method';
}
$this->payment_methods = Modules::getPaymentMethods(); $this->payment_methods = Modules::getPaymentMethods();
if (empty($this->selected) && empty($this->getParentData('model'))) { if (empty($this->selected) && empty($this->getParentData('model'))) {