Minor - Avoid notice in audio upload page in lp

ofaj
Yannick Warnier 9 years ago
parent 38a4c5ca24
commit 85c6ca480c
  1. 2
      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 .= '</form>';
}

Loading…
Cancel
Save