Minor - Fixing lang variable

skala
Julio Montoya 13 years ago
parent b966024f9a
commit b70a18a8ee
  1. 2
      main/exercice/exercise.class.php
  2. 4
      main/exercice/overview.php

@ -3355,7 +3355,7 @@ class Exercise {
//2. If the exercise is not active
if ($this->active == 0) {
return array('value' => false, 'message' => Display::return_message(get_lang('ExerciseNotAvailable'), 'warning', false));
return array('value' => false, 'message' => Display::return_message(get_lang('ExerciseNotFound'), 'warning', false));
}
//3. We check if the time limits are on

@ -119,9 +119,7 @@ $options = '';
if (!empty($exercise_url_button)) {
$options .= $exercise_url_button;
}
$options = Display::div($options, array('class'=>'offset4 span3'));
$options = Display::div($options, array('class'=>'offset4 span4'));
$my_attempt_array = array();
$table_content = '';

Loading…
Cancel
Save