BUG 9717 I add attributes that removed to user table SOLVED
I add attributes that removed to user table
This commit is contained in:
@@ -88,7 +88,7 @@ if ($fields['AUTH_SOURCE_PROVIDER'] == 'ldap') {
|
||||
// The attributes the users
|
||||
G::loadClass('pmFunctions');
|
||||
$data = executeQuery('DESCRIBE USERS');
|
||||
$fieldSet = array('USR_UID','USR_USERNAME','USR_ROLE','USR_REPLACED_BY','USR_UX');
|
||||
$fieldSet = array('USR_UID', 'USR_USERNAME', 'USR_PASSWORD', 'USR_EMAIL', 'USR_CREATE_DATE', 'USR_UPDATE_DATE', 'USR_STATUS', 'USR_COUNTRY', 'USR_CITY', 'USR_LOCATION', 'DEP_UID', 'USR_RESUME', 'USR_ROLE', 'USR_REPORTS_TO', 'USR_REPLACED_BY', 'USR_UX');
|
||||
$attributes = '';
|
||||
foreach ($data as $value) {
|
||||
if (!(in_array($value['Field'], $fieldSet))) {
|
||||
|
||||
Reference in New Issue
Block a user