Quantcast
Viewing all articles
Browse latest Browse all 2364

Re: Web Services get_my_module_grade

by Patrick Pollet.  

Argh, I suspect there is something wrong in my code ;-(

If you have access to source code of wspp/server.class.php, could you try replacing near line 4938 

the call to get_coursemodule_from_instance by get_coursemodule_from_id  as below :

// rev 04/04/2013 see https://moodle.org/mod/forum/post.php?reply=981346
//if (!$cm = get_coursemodule_from_instance($activitytype,$activityid, 0)) {
if (!$cm = get_coursemodule_from_id($activitytype,$activityid, 0)) {

 

Cheers

 


Viewing all articles
Browse latest Browse all 2364

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>