From 53922041738b737485ac46beaa1ebcf4594911d2 Mon Sep 17 00:00:00 2001 From: Roland Gruber Date: Wed, 11 Mar 2015 20:14:36 +0000 Subject: [PATCH] added debug output --- lam/templates/3rdParty/pla/htdocs/copy.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lam/templates/3rdParty/pla/htdocs/copy.php b/lam/templates/3rdParty/pla/htdocs/copy.php index ba83507c..40c64830 100644 --- a/lam/templates/3rdParty/pla/htdocs/copy.php +++ b/lam/templates/3rdParty/pla/htdocs/copy.php @@ -135,8 +135,11 @@ function r_copy_dn($serverSRC,$serverDST,$snapshottree,$dnSRC,$dnDST,$remove) { $copy_result = r_copy_dn($serverSRC,$serverDST,$snapshottree,$child_dn,$dnDST_new,$remove); $copy_message = array_merge($copy_message,array_values($copy_result)); - if (! $copy_result) + if (! $copy_result) { $hadError = true; + $msg = print_r($copy_result, true); + debug_log("Error copying DN " . $child_dn . ': ' . $msg, 1, 0); + } } if (! $hadError && $remove) {