mirror of
https://github.com/moodle/moodle.git
synced 2025-03-14 04:30:15 +01:00
MDL-15992: box.net file rename - fixing warning
This commit is contained in:
parent
494e47e497
commit
68b7eed0f7
@ -209,7 +209,7 @@ class portfolio_plugin_boxnet extends portfolio_plugin_base {
|
||||
$bits = explode('.', $newname);
|
||||
$suffix = '';
|
||||
if (count($bits) == 1) {
|
||||
$prefix = $origname;
|
||||
$prefix = $newname;
|
||||
} else {
|
||||
$suffix = '.' . array_pop($bits);
|
||||
$prefix = implode('.', $bits);
|
||||
|
Loading…
x
Reference in New Issue
Block a user