diff --git a/modules/notes/notes_ajax_content.php b/modules/notes/notes_ajax_content.php index ff52b909307d792648d4c305a039ee17c83a6cfb..ad01f0a86aa89aaad6c3bd56ef8a3857b7da2dab 100644 --- a/modules/notes/notes_ajax_content.php +++ b/modules/notes/notes_ajax_content.php @@ -175,9 +175,9 @@ switch ($mode) { if ($core_tools->test_service('notes_restriction', 'notes', false)) { if (!empty($_SESSION['user']['entities'])) { foreach ($_SESSION['user']['entities'] as $tmpEntity) { - if($tmpEntity['ENTITY_ID'] == $_SESSION['user']['primaryentity']['id']){ + //if($tmpEntity['ENTITY_ID'] == $_SESSION['user']['primaryentity']['id']){ $entitiesForRestriction[] = $tmpEntity['ENTITY_ID']; - } + //} } } }