_uc_stock_send_mail calls $account = user_load($order); this call will fail!
creating some entries in the log...
Recoverable fatal error: Object of class stdClass could not be converted to string in DatabaseStatementBase->execute
Warning: array_flip() [function.array-flip]: Can only flip STRING and INTEGER values! in DrupalDefaultEntityController->load() (
the $account is not even used in the function so i think the call should just be removed...
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | stock.patch | 691 bytes | tr |
| #1 | stock-D6.patch | 735 bytes | tr |
Comments
Comment #1
tr commentedI kept the $account in so it can be used for user tokens. Patch attached for D7 and for D6, which has a similar problem.
Comment #2
bwynants commentedworks fine
Comment #3
bwynants commentedtested and works
Comment #4
tr commentedCommitted to 6.x-2.x and 7.x-3.x.