Hey xibun, nothing serious, but found a php notice for using an undefined variable. On line 178 in uc_bank_transfer.module the $output variable is being returned, but it will only have been set if a clear_date was found on line 174.
Attached a patch (don't know if it was necessary) to set $output to an empty string so it will have been set even if no clear date was found. At least it will help clarify what I'm saying...
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | uc_bank_transfer.patch | 785 bytes | xibun |
| uc_bank_transfer.patch | 545 bytes | daniel bornman |
Comments
Comment #1
xibun commentedHi danielbornman, good catch!
actually we can even use this to communicate the pending status to the customer. also it seems to me there was a mark-up bug. have a look at the proposed patch with both changes.
Comment #2
daniel bornman commentedThat looks even better - nice touch, like the 'Status pending'
Comment #3
xibun commentedcommitted to dev.