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).

Files: 
CommentFileSizeAuthor
#3 ubercart-n1854596-3.patch762 bytesDamienMcKenna
PASSED: [[SimpleTest]]: [MySQL] 2,113 pass(es).
[ View ]
#1 ubercart-n1854596.patch763 bytesDamienMcKenna
PASSED: [[SimpleTest]]: [MySQL] 2,117 pass(es).
[ View ]

Comments

Status:Active» Needs review
StatusFileSize
new763 bytes
PASSED: [[SimpleTest]]: [MySQL] 2,117 pass(es).
[ View ]

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

Priority:Normal» Minor

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

StatusFileSize
new762 bytes
PASSED: [[SimpleTest]]: [MySQL] 2,113 pass(es).
[ View ]

Sure thing.

Status:Needs review» Fixed

Committed.

Status:Fixed» Closed (fixed)

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