[BUG?] Suspend user give same value

DJVG

Verified User
Joined
Aug 14, 2008
Messages
25
Hello,

My title is not that clear, i know.

When is use the "CMD_API_SELECT_USERS" command to suspend or unsuspend users, DirectAdmin returns always the same value.

When the command is:
Code:
/CMD_API_SELECT_USERS?select0=test1234&dosuspend=1

DirectAdmin will return:
Code:
Array ( [error] => 0 [text] => Success [details] => All selected Users have been suspended )

But, when the command is:
Code:
/CMD_API_SELECT_USERS?select0=test1234&do[B][U]un[/U][/B]suspend=1

DirectAdmin returns the SAME details:
Code:
Array ( [error] => 0 [text] => Success [details] => All selected Users have been suspended )

It says: ...have been suspended, but i think the right text is: ...have been unsuspended.

Please Correct Me If I Am Wrong!

Greetz,
DJVG
 
Hello,

Thanks, I've fixed the code to return "unsuspended" for that action. Avaiable for the next release of DA.

John
 
Back
Top