Posted by CrashTest_ on November 4, 2009 at 9:18pm
Jump to:
| Project: | Ubercart Userpoints |
| Version: | 6.x-2.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed (fixed) |
Issue Summary
The uc_userpoints_award.module I was getting an error because of db_num_rows(). I noticed that the db query that this was running against would only return 0 or 1, so I replaced this with !empty. Works as expected now.
| Attachment | Size |
|---|---|
| uc_userpoints_award.patch | 664 bytes |
Comments
#1
commited