diff --git a/main/exercice/admin.php b/main/exercice/admin.php index 3acf7733a2..75e139e070 100755 --- a/main/exercice/admin.php +++ b/main/exercice/admin.php @@ -58,7 +58,7 @@ require_once 'exercise.lib.php'; $this_section=SECTION_COURSES; -$is_allowedToEdit=api_is_allowed_to_edit(null,true); +$is_allowedToEdit = api_is_allowed_to_edit(null,true); if (!$is_allowedToEdit) { api_not_allowed(true); diff --git a/main/exercice/exercice.php b/main/exercice/exercice.php index fc5d2467fd..b20467dbc5 100755 --- a/main/exercice/exercice.php +++ b/main/exercice/exercice.php @@ -652,6 +652,7 @@ if ($show == 'test') { echo ''; } } + if ($show == 'test') { ?>