diff --git a/include/class_objects.inc b/include/class_objects.inc index 09a66b15f78e617f35abc6db4ea2e7cd7aecd20f..4919c543da9a87c3e38abc188fcb267cb611a7db 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; }