You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
which checks for a mod name being set and if not found sets $modname to '', which will result in never finding a valid class in the line above.
So either you need to validate the instantiation of the class to a valid class name or there is something incorrect that L2908 is ending up with an empty modname.
The text was updated successfully, but these errors were encountered:
Line 2905 in turnitin/lib.php has a condition where the $modname can end up being "".
This line
moodle-plagiarism_turnitin/lib.php
Line 1652 in 8cf0d4f
This should have a check that the class is a valid one.
This seems to be caused by
moodle-plagiarism_turnitin/lib.php
Line 2908 in 8cf0d4f
So either you need to validate the instantiation of the class to a valid class name or there is something incorrect that L2908 is ending up with an empty modname.
The text was updated successfully, but these errors were encountered: