Posted by DamienMcKenna on November 30, 2012 at 4:01am
4 followers
| Project: | Ubercart |
| Version: | 6.x-2.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | minor |
| Assigned: | Unassigned |
| Status: | closed (fixed) |
Issue Summary
The following watchdog message is recorded when I load the checkout page:
Notice: Undefined property: stdClass::$payment_method in uc_credit_order() (line 307 of ubercart/payment/uc_credit/uc_credit.module).
Comments
#1
This patch just checks to see if the value exists before using it.
#2
Can you copy what was done in 7.x-3.x, by using isset() instead of !empty() ?
#3
Sure thing.
#4
Committed.
#5
Automatically closed -- issue fixed for 2 weeks with no activity.