Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 3.7
-
Component/s: Lesson
Description
- Given I am logged in as a teacher
- And I am viewing a lesson
- And I click "Import questions"
- When I click "Import" without uploading a file first
- Then I should be told to add a file
Actual:
Warning: count(): Parameter must be an array or an object that implements Countable in /Users/nicols/Sites/moodles/sm/moodle/mod/lesson/import_form.php on line 72
|
And no meaningful error.