From a1e19a38eb8bdfbf004be3b1e7327aab77f6d59e Mon Sep 17 00:00:00 2001 From: gjwnc Date: Wed, 15 May 2019 16:47:18 +0200 Subject: [PATCH] Change backtrace limit from 10 to 15 --- .../Security/Authorization/Privilege/Node/MoveNodePrivilege.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Classes/Security/Authorization/Privilege/Node/MoveNodePrivilege.php b/Classes/Security/Authorization/Privilege/Node/MoveNodePrivilege.php index 7ae9b4a..bf442fd 100644 --- a/Classes/Security/Authorization/Privilege/Node/MoveNodePrivilege.php +++ b/Classes/Security/Authorization/Privilege/Node/MoveNodePrivilege.php @@ -45,7 +45,7 @@ public function matchesSubject(PrivilegeSubjectInterface $subject) // - CreateBefore, CreatAfter -> apply() // - Node(Interface) -> copyBefore, copyAfter // - NodeOperations -> create - $backtrace = debug_backtrace(DEBUG_BACKTRACE_IGNORE_ARGS, 10); + $backtrace = debug_backtrace(DEBUG_BACKTRACE_IGNORE_ARGS, 15); foreach ($backtrace as $item) { if (isset($item['class'])) { if (