Hi,
The user with whom content was shared cannot see images. The problem is with the access function.
if ($pdfaccess && $pdfforuserid > 0) { $userid = $pdfforuserid; $myuserid = $pdfforuserid; } else { $userid = clean_param($hash[0], PARAM_INT); $myuserid = $USER->id; }
Hi,
The user with whom content was shared cannot see images. The problem is with the access function.
if ($pdfaccess && $pdfforuserid > 0) { $userid = $pdfforuserid; $myuserid = $pdfforuserid; } else { $userid = clean_param($hash[0], PARAM_INT); $myuserid = $USER->id; }