Hi,
I'm getting the following debug message:
Notice: Only variables should be passed by reference in /var/www/html/moodle/mod/telemedia/locallib.php on line 85
This is my line 85:
$DB->get_records('role_assignments', array("roleid"=>reset(get_archetype_roles($config->teacherrole))->id, "userid"=>$user->id))What is wrong with this statement?
Any help appreciated.
Regards,
Pedro