Skip to content

Commit 3b9d38e

Browse files
authored
Update Core.php
1 parent 29afd76 commit 3b9d38e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/Core.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2475,7 +2475,7 @@ public function getDocumentObject($method, $identifier, $isPrepareResponse = fal
24752475

24762476
// get document
24772477
if (!$docgrp) {
2478-
if (isset($_SESSION['mgrRole']) && $_SESSION['mgrRole'] != 1) {
2478+
if (!isset($_SESSION['mgrRole']) || $_SESSION['mgrRole'] != 1) {
24792479
$documentObjectQuery->where('privatemgr', 0);
24802480
}
24812481

0 commit comments

Comments
 (0)