Skip to content

Commit

Permalink
Fix for #6
Browse files Browse the repository at this point in the history
  • Loading branch information
ndunand committed Apr 9, 2019
1 parent 4ec2fbd commit aad590f
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions renderer.php
Original file line number Diff line number Diff line change
Expand Up @@ -535,8 +535,12 @@ function display_user_pending_clips($show_uploaded = true, $show_pending = true,
echo html_writer::start_tag('table', ['class' => 'opencast-clips']);
$this->display_singleclip_table_header(false, $with_owner, $with_uploader, false);
foreach ($uploaded as $uploaded_record) {
$sc_clip = new mod_opencast_event($sc_obj, $uploaded_record->ext_id, null, $uploaded_record->opencastid);
$this->display_clip_outline($sc_clip, false, false, null, $with_owner, $with_uploader, false, false);
try {
$sc_clip = new mod_opencast_event($sc_obj, $uploaded_record->ext_id, null, $uploaded_record->opencastid);
$this->display_clip_outline($sc_clip, false, false, null, $with_owner, $with_uploader, false, false);
}
catch (Exception $e) {
}
}
echo html_writer::end_tag('table');
}
Expand Down

0 comments on commit aad590f

Please sign in to comment.