mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 16:36:37 +02:00
portfolio MDL-21034 fixed syntax error caused by too long lines and patching
This commit is contained in:
parent
98b15580f5
commit
599777551b
1 changed files with 2 additions and 1 deletions
|
@ -180,7 +180,8 @@ class forum_portfolio_caller extends portfolio_module_caller_base {
|
|||
if ($this->attachment) { // simplest case first - single file attachment
|
||||
$this->copy_files(array($this->singlefile), $this->attachment);
|
||||
if ($writingleap) { // if we're writing leap, make the manifest to go along with the file
|
||||
$entry = new portfolio_format_leap2a_entry('forumattachment' . $this->singlefile->get_id(), $this->singlefile->get_filename(), 'resource', $this->single
|
||||
$entry = new portfolio_format_leap2a_entry('forumattachment' . $this->singlefile->get_id(),
|
||||
$this->singlefile->get_filename(), 'resource', $this->singlefile);
|
||||
$entry->published = $this->singlefile->get_timecreated();
|
||||
$entry->updated = $this->singlefile->get_timemodified();
|
||||
$entry->add_category('offline', 'resource_type');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue