Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
vtigercrm
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Admin message
Welcome to Vtiger Community. To gain access for account, please contact [ community @ vtiger.com ]
Show more breadcrumbs
Daniel Lennartz
vtigercrm
Commits
39091ff2
Commit
39091ff2
authored
9 months ago
by
yogeshwar
Browse files
Options
Downloads
Patches
Plain Diff
E-ALL SETTINGS - HomePage && User
parent
70b225ec
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
modules/Users/Users.php
+1
-1
1 addition, 1 deletion
modules/Users/Users.php
vtlib/Vtiger/AccessControl.php
+1
-1
1 addition, 1 deletion
vtlib/Vtiger/AccessControl.php
with
2 additions
and
2 deletions
modules/Users/Users.php
+
1
−
1
View file @
39091ff2
...
...
@@ -1851,7 +1851,7 @@ class Users extends CRMEntity {
$modelData
=
$recordModel
->
getData
();
$recordModel
->
set
(
'mode'
,
''
);
foreach
(
$modelData
as
$fieldName
=>
$fieldValue
)
{
$recordModel
->
set
(
$fieldName
,
isset
(
$record
[
$fieldName
])
?
$record
[
$fieldName
]
:
''
);
$recordModel
->
set
(
$fieldName
,
isset
(
$record
[
$fieldName
])
?
$record
[
$fieldName
]
:
null
);
}
$recordModel
->
save
();
$plainPasswords
[
$recordModel
->
getId
()]
=
$record
[
'user_password'
];
...
...
This diff is collapsed.
Click to expand it.
vtlib/Vtiger/AccessControl.php
+
1
−
1
View file @
39091ff2
...
...
@@ -49,7 +49,7 @@ class Vtiger_AccessControl {
self
::
$singleton
=
new
self
();
}
if
(
self
::
$singleton
->
privileges
&&
isset
(
self
::
$singleton
->
privileges
[
$id
])
&&
self
::
$singleton
->
privileges
[
$id
]
)
{
if
(
self
::
$singleton
->
privileges
)
{
unset
(
self
::
$singleton
->
privileges
[
$id
]);
}
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment