Skip to content
Snippets Groups Projects
Commit a778062c authored by Uma's avatar Uma
Browse files

Fixes #1273 Dashboard widgets not following sharing access

parent 7f6609d6
No related branches found
No related tags found
1 merge request!605Fixes #1273 Dashboard widgets not following sharing access
......@@ -1252,6 +1252,7 @@ class Vtiger_Module_Model extends Vtiger_Module {
$params[] = $id;
}
if($subordinateUsers) {
array_push($subordinateUsers, $currentUserModel->getId());
$ownerSql = ' smownerid IN ('. implode(',' , $subordinateUsers) .')';
} else {
$ownerSql = ' smownerid = '.$currentUserModel->getId();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment