diff --git a/main/lp/learnpath.class.php b/main/lp/learnpath.class.php index 0e5e22ce81..01a5b25f13 100755 --- a/main/lp/learnpath.class.php +++ b/main/lp/learnpath.class.php @@ -5544,7 +5544,7 @@ class learnpath } // We need to close the form when we are updating the mp3 files. - if ($update_audio == 'true' && count($this->arrMenu) != 0) { + if ($update_audio == 'true' && isset($this->arrMenu) && count($this->arrMenu) != 0) { $return .= ''; }