From 63045c1d1efa43874c6eb5c26ceaf70438a12ff1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=B4me=20Chilliet?= <come@opensides.be> Date: Tue, 25 Oct 2016 09:32:16 +0200 Subject: [PATCH] Fixes #5228 PHP error when copy/pasting --- include/class_CopyPasteHandler.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/class_CopyPasteHandler.inc b/include/class_CopyPasteHandler.inc index bcceb4086..97c0387b8 100644 --- a/include/class_CopyPasteHandler.inc +++ b/include/class_CopyPasteHandler.inc @@ -223,7 +223,7 @@ class CopyPasteHandler $msgs = $entry['object']->check(); /* Retrieve ACL infos */ - $copy_acl = $ui->is_copyable($entry['dn'], $entry['aclCategory']); + $copy_acl = $ui->is_copyable($entry['dn'], $entry['aclCategory'], $entry['mainTab']); $cut_acl = $ui->is_cutable($entry['dn'], $entry['aclCategory'], $entry['mainTab']); /* Check permissions */ -- GitLab