if ($forceScorm || $this->getAttribute('scorm')) {
- $manifest = new Manifest($this->getAttribute('title'), $this->getAttribute('scorm_version'), $this->getAttribute('client') ?: backpack_user()->getCompanyNameAttribute(), $this->getAttribute('project') ?: 'Quiz');
+ $scormVersion = $this->getAttribute('scorm_version') ?: '1.2';
+ $manifest = new Manifest($this->getAttribute('title'), $scormVersion, $this->getAttribute('client') ?: backpack_user()->getCompanyNameAttribute(), $this->getAttribute('project') ?: 'Quiz');
$vdir->file_put_contents('imsmanifest.xml', $manifest);
}
$vdir->sync(true);