catalyst / totara-mod-ojt

https://github.com/catalyst/totara-mod-ojt/wiki
5 stars 21 forks source link

Notices on student evaluating #1

Closed jounisuo closed 7 years ago

jounisuo commented 8 years ago

(With debug messages on and debug messages at DEVELOPER) When I've created a fresh OTJ with topic and items, and open the Evaluate Students and click on a student I get the following notices: Notice: Undefined property: stdClass::$status in /var/www/html/totaralms/mod/ojt/renderer.php on line 103

Notice: Undefined property: stdClass::$status in /var/www/html/totaralms/mod/ojt/renderer.php on line 114

Notice: Undefined property: stdClass::$status in /var/www/html/totaralms/mod/ojt/renderer.php on line 136

The student being evaluated has no activity on the course, if that helps debug this.

euven commented 7 years ago

Hi @jounisuo,

Thanks for the bug report! This isssue should now be fixed on the master and OJT_29 branches ;)

Regards, Eugene.