Fix error when including the assignment tool with no assignment in learning path - closes #5256

skala
Yannick Warnier 13 years ago
parent 5cd49dc1d9
commit 9627e3dd93
  1. 4
      main/work/work.php

@ -237,7 +237,7 @@ if (!empty($group_id)) {
} else {
//we are in the learnpath tool
require Display::display_reduced_header();
Display::display_reduced_header();
}
}
@ -1223,4 +1223,4 @@ switch ($action) {
if ($origin != 'learnpath') {
//we are not in the learning path tool
Display :: display_footer();
}
}

Loading…
Cancel
Save