No display for in mypoints page
Points awaiting moderation: (Blank)
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | fix_unapproved.patch | 1.03 KB | berdir |
No display for in mypoints page
Points awaiting moderation: (Blank)
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | fix_unapproved.patch | 1.03 KB | berdir |
Comments
Comment #1
barrya commentedI too noticed this. If you look at line 1714(approx) - the bit that calculates the pending points you will see the following.
Replace the above with the following and it will fix it.
The reason it was not working is that when you call db_result() it will set the pointer to the next entry in the mysql result object. Unlike the drupal 5 api, you are not able to specify the row to check on db_result().
Comment #2
berdirPlease provide that as a patch, thanks!
Comment #3
berdirActually, the whole thing can be written in a single line...
Comment #4
berdirTagging to make it easier to find patches like this one.
Comment #5
berdirCommited.
Comment #6
berdirCommited.