Skip to content

Commit b763f0d

Browse files
committed
Fixed BC break introduced in 44182c4
1 parent d55e3e2 commit b763f0d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Diff for: Gopay/Service.php

+2
Original file line numberDiff line numberDiff line change
@@ -481,6 +481,8 @@ public function bindPaymentButton($channel, Nette\Forms\Container $form, $callba
481481
$button = $form['gopayChannel' . $channel->name] = new ImagePaymentButton($channel->name, $channel->image, $channel->title);
482482
}
483483

484+
$channel->control = 'gopayChannel' . $channel->name;
485+
484486
if (!is_array($callbacks)) $callbacks = array($callbacks);
485487
foreach ($callbacks as $callback) {
486488
$button->onClick[] = $callback;

0 commit comments

Comments
 (0)