Posted by restyler on September 15, 2009 at 6:32pm
Jump to:
| Project: | User Points |
| Version: | 6.x-1.x-dev |
| Component: | Code: userpoints API |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed (fixed) |
Issue Summary
I've noticed that when you go to userpoints moderation
admin/user/userpoints/moderate
and edit some points, by changing taxonomy category from "Uncategorized" to "SomeCategory" this change is not saved.
After quick look at the code of userpoints.module I noticed that term id is not passed to userpoints_userpointsapi().
To fix that, add
<?Php
'tid' => $form_state['values']['tid'],
?>
to the params array (starts on line 1262)
that fixed the problem for me, now terms are saved properly
Comments
#1
Can you please post this as a patch (see http://drupal.org/patch for details).
However, this is a one liner, and therefore can be excepted from the patch requirement.
If you cannot create a patch, then please post the chunk to be modified (something like 5 lines before and 5 lines after where the change should be), and mark where the change should be.
#2
This seems to be fixed in 6.x-1.x-dev.
#3
#4
Automatically closed -- issue fixed for 2 weeks with no activity.