diff --git a/main/newscorm/learnpath.class.php b/main/newscorm/learnpath.class.php index 900bf93031..1a808a8aad 100644 --- a/main/newscorm/learnpath.class.php +++ b/main/newscorm/learnpath.class.php @@ -4488,13 +4488,15 @@ class learnpath { $return .= "\t" . '' . "\n"; $return .= "\t\t" . ''.get_lang("NoItemsInLp").'' . "\n"; $return .= "\t" . '' . "\n"; - } + } + $return .= '' . "\n"; // we need to close the form when we are updating the mp3 files + if ($_GET['updateaudio'] == 'true') { - $return .= ' '; + $return .= '
'; } - $return .= '' . "\n"; + // we need to close the form when we are updating the mp3 files if ($_GET['updateaudio'] == 'true' AND count($arrLP) <> 0)