From 1d50230f86ba1c58494a8b43fefdd24baea1b25e Mon Sep 17 00:00:00 2001 From: Cristian Fasanando Date: Wed, 8 Apr 2009 23:48:29 +0200 Subject: [PATCH] [svn r19663] Minor - A module y a directory shouldn't upload an audio because they're not content - partial FS#3909 --- main/newscorm/learnpath.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main/newscorm/learnpath.class.php b/main/newscorm/learnpath.class.php index 429fc34465..e39ecbdcc1 100644 --- a/main/newscorm/learnpath.class.php +++ b/main/newscorm/learnpath.class.php @@ -4436,7 +4436,7 @@ class learnpath { } else { - if ($arrLP[$i]['item_type']!='dokeos_chapter') { + if ($arrLP[$i]['item_type']!='dokeos_chapter' && $arrLP[$i]['item_type'] != 'dokeos_module' && $arrLP[$i]['item_type'] != 'dir') { $return .= ' '; if (!empty($arrLP[$i]['audio'])) {