File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -408,7 +408,9 @@ public class fflib_QueryFactory { //No explicit sharing declaration - inherit fr
408408 }
409409
410410 fflib_QueryFactory subselectQuery = new fflib_QueryFactory (relationship );
411- subSelectQuery .assertIsAccessible ();
411+ if (assertIsAccessible ){
412+ subSelectQuery .assertIsAccessible ();
413+ }
412414 subselectQueryMap .put (relationship , subSelectQuery );
413415 return subSelectQuery ;
414416 }
@@ -739,4 +741,4 @@ public class fflib_QueryFactory { //No explicit sharing declaration - inherit fr
739741 public class InvalidFieldSetException extends Exception {}
740742 public class NonReferenceFieldException extends Exception {}
741743 public class InvalidSubqueryRelationshipException extends Exception {}
742- }
744+ }
You can’t perform that action at this time.
0 commit comments