Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

MDL-33322: fixed strict standards

  • Loading branch information...
commit 3c693ff4d295c5e7a965fe2063129dcb31a05900 1 parent 4239150
@marinaglancy marinaglancy authored rwijaya committed
Showing with 2 additions and 1 deletion.
  1. +2 −1  repository/draftfiles_manager.php
View
3  repository/draftfiles_manager.php
@@ -333,7 +333,8 @@
$home_url->param('action', 'browse');
$home_url->param('draftpath', $file->filepath);
- $foldername = trim(array_pop(explode('/', trim($file->filepath, '/'))), '/');
+ $filepathchunks = explode('/', trim($file->filepath, '/'));
+ $foldername = trim(array_pop($filepathchunks), '/');
echo html_writer::link($home_url, $foldername);
$home_url->param('draftpath', $file->filepath);
Please sign in to comment.
Something went wrong with that request. Please try again.