Add following line:
$rows = array();
Into function theme_uc_payment_method_table(), file uc_payment.admin.inc right before foreach loop.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | 1460782-no-payment-methods.patch | 1.01 KB | tr |
Add following line:
$rows = array();
Into function theme_uc_payment_method_table(), file uc_payment.admin.inc right before foreach loop.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | 1460782-no-payment-methods.patch | 1.01 KB | tr |
Comments
Comment #1
tr commentedHere's a patch that eliminates the PHP Notice and explains to the user what needs to be done to fix things, instead of just saying "No payment methods are available."
Please test it out.
Comment #2
tr commentedComment #3
tr commentedComment #4
tr commentedC'mon bot ...
Comment #5
tr commentedCommitted to 7.x-3.x then backported and committed to 6.x-2.x.