Download & Extend

blocking action incorrectly says UN-block

Project:Fasttoggle
Version:6.x-1.3
Component:Code
Category:bug report
Priority:minor
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

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')),

Comments

#1

Status:active» reviewed & tested by the community

ok, if you really need a patch for this, here it is...

AttachmentSize
fasttoggle.module.patch 687 bytes

#2

Status:reviewed & tested by the community» fixed

Looking at current git, this patch doesn't seem to have been applied, but the code is changed. Marking as fixed. Please reopen if this is still an issue.

#3

Status:fixed» closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

nobody click here