Skip to content

Commit

Permalink
BAP-13523: Duplicated Accounts Grid View is not opened for some users
Browse files Browse the repository at this point in the history
  • Loading branch information
Makar Sichevoi committed Jan 31, 2017
1 parent c62cb28 commit e1498b0
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/Oro/Bundle/SecurityBundle/ORM/Walker/AclWalker.php
Original file line number Diff line number Diff line change
Expand Up @@ -124,9 +124,8 @@ protected function getSubSelectFromFactor(ConditionalPrimary $factor, $factorId,
->conditionalFactors[$factorId]
->simpleConditionalExpression
->subselect;
} elseif (isset(
$factor->conditionalExpression->conditionalTerms,
$factor->conditionalExpression->conditionalTerms[$factorId]->simpleConditionalExpression)) {
} elseif (isset($factor->conditionalExpression->conditionalTerms)
&& isset($factor->conditionalExpression->conditionalTerms[$factorId]->simpleConditionalExpression)) {
$subSelect = $factor
->conditionalExpression
->conditionalTerms[$factorId]
Expand Down

0 comments on commit e1498b0

Please sign in to comment.