Skip to content
This repository has been archived by the owner on May 19, 2020. It is now read-only.

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
iCodr8 committed May 22, 2015
2 parents 72e35d9 + 88fccfa commit 30f8e01
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions system/modules/secure-accessdata/dca/tl_secure_accessdata.php
Original file line number Diff line number Diff line change
Expand Up @@ -201,9 +201,8 @@
'author' => array
(
'label' => &$GLOBALS['TL_LANG']['tl_secure_accessdata']['author'],
'default' => $this->User->id,
'default' => \BackendUser::getInstance()->id,
'filter' => true,
//'search' => true,
'sorting' => true,
'exclude' => true,
'inputType' => 'select',
Expand Down Expand Up @@ -898,7 +897,7 @@ public function filterFields($onlyIDs = false)
if ($this->User->id != $author)
{
// If not in user array
if (!(is_array($protect_users) && count($protected_users) < 1 && in_array($this->User->id, $protect_users)))
if (!(is_array($protect_users) && count($protect_users) < 1 && in_array($this->User->id, $protect_users)))
{
// If not in group array
if (!(is_array($this->User->groups) && is_array($protect_groups) && count(array_intersect($this->User->groups, $protect_groups)) > 0))
Expand Down

0 comments on commit 30f8e01

Please sign in to comment.