Project

General

Profile

Actions

Bug #36300

closed

Sys Action > Create backend user does not load existing user correctly

Added by Bart Dubelaar about 12 years ago. Updated over 11 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2012-04-18
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
4.5
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

The selected usergroups are not loaded although code exists to support this:

$selected = (is_array($vars['usergroup']) && t3lib_div::inList(implode(',', $vars['usergroup']), $checkGroup['uid'])) ? ' selected="selected" ' : '';

The $vars array is the raw user record from the DB, where the usergroup list is already comma separated. Removing the code to convert from an array conversion fixes it:

$selected = t3lib_div::inList($vars['usergroup'], $checkGroup['uid']) ? ' selected="selected" ' : '';

I am very curious how this code came in to place :-)


Related issues 1 (0 open1 closed)

Has duplicate TYPO3 Core - Bug #25329: Task center - sys_action: Usergroups are not selected.Closed2011-03-15

Actions
Actions

Also available in: Atom PDF