-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Labels
bug 🐞Something isn't workingSomething isn't working
Description
I have some php code that looks like this:
public function checkInternalGroupPermissionForPerson(string $auth, ?int $personId) {
include_once dirname(__DIR__, 3) . '/churchdb/churchdb_db.php';
$groups = getMyGroupIdsWhereIAmAllowed($auth);
$personIds = churchdb_getAllPeopleIdsFromGroups($groups);
return isset($personIds[$personId]);
}
The lives in a class for which php-aop creates a proxy. The file churchdb_db.php does not need a proxy and so the include does not work.
How can i solve this?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bug 🐞Something isn't workingSomething isn't working