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

damienmckenna’s picture

Status: Active » Needs review
StatusFileSize
new763 bytes

This patch just checks to see if the value exists before using it.

tr’s picture

Priority: Normal » Minor

Can you copy what was done in 7.x-3.x, by using isset() instead of !empty() ?

damienmckenna’s picture

StatusFileSize
new762 bytes

Sure thing.

longwave’s picture

Status: Needs review » Fixed

Committed.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.