From 740cc93c44e5de1fc657c7a923fbe976eddc4651 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=B4me=20Chilliet?= <come.chilliet@fusiondirectory.org> Date: Tue, 25 Feb 2020 14:51:23 +0100 Subject: [PATCH] :ambulance: fix(objects) Fix PHP error when creating a template issue #6065 --- include/class_objects.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/class_objects.inc b/include/class_objects.inc index 09a66b15f..4919c543d 100644 --- a/include/class_objects.inc +++ b/include/class_objects.inc @@ -406,7 +406,7 @@ class objects $attrsObject->is_template = TRUE; $tabObject = new $tabClass($type, 'new', $attrsObject); - logging::debug(DEBUG_TRACE, __LINE__, __FUNCTION__, __FILE__, $dn, "Create template of $type"); + logging::debug(DEBUG_TRACE, __LINE__, __FUNCTION__, __FILE__, $type, 'Create template of type'); return $tabObject; } -- GitLab