Notice: Undefined property: stdClass::$pkgtype in /Users/skodak/server/workspace/integration19/mod/scorm/locallib.php on line 772
Call Stack: 0.0003 692808 1.
()
/Users/skodak/server/workspace/integration19/mod/scorm/view.php:0 0.1017 23022968 2. scorm_simple_play()
/Users/skodak/server/workspace/integration19/mod/scorm/view.php:50 0.1017 23023016 3. scorm_parse()
/Users/skodak/server/workspace/integration19/mod/scorm/locallib.php:733
This happens when you set Auto update option to "every time it is used" and visit the view.php, the reason is that the
if (($packagedata = scorm_check_package($scorm)) != null) {
$scorm->pkgtype = $packagedata->pkgtype;
is not in the mod/scorm/view.php