From 280ad2f53ae63740fcb07affea4bf5ca79217cef Mon Sep 17 00:00:00 2001 From: Julio Montoya Date: Wed, 21 Mar 2012 11:42:41 +0100 Subject: [PATCH] Minor adding error_log --- main/newscorm/learnpath.class.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/main/newscorm/learnpath.class.php b/main/newscorm/learnpath.class.php index 0f51a1ad00..9559837467 100644 --- a/main/newscorm/learnpath.class.php +++ b/main/newscorm/learnpath.class.php @@ -2939,6 +2939,10 @@ class learnpath { } else { require_once 'resourcelinker.inc.php'; $file = rl_get_resource_link_for_learnpath(api_get_course_id(), $this->get_id(), $item_id); + + if ($this->debug > 0) { + error_log('rl_get_resource_link_for_learnpath - file: ' . $file, 0); + } if ($lp_item_type == 'link') { require_once api_get_path(LIBRARY_PATH).'link.lib.php';