blocking action incorrectly says UN-block
snowmountain - May 6, 2009 - 03:00
| Project: | Fasttoggle |
| Version: | 6.x-1.3 |
| Component: | Code |
| Category: | bug report |
| Priority: | minor |
| Assigned: | Unassigned |
| Status: | active |
Description
On page users/username the fasttoggle for Status: has 2 values: activate and unblock. These should be activate and BLOCK, not UN-block.
Clicking active changes status from blocked to active, while
clicking unblock changes state from active to blocked.
The problem is on line 342 of fasttoggle.module, below, and the fix for this line is below that:
'user_status' => array(0 => t('activate'), 1 => t('unblock')),
should be
'user_status' => array(0 => t('activate'), 1 => t('block')),
