Commit 83a70f15 authored by Richard Mansfield's avatar Richard Mansfield
Browse files

Fix folder links in site files

parent d50307d5
......@@ -871,7 +871,10 @@ function pieform_element_filebrowser_changefolder(Pieform $form, $element, $fold
if (isset($element['tabs'])) {
if ($owner = param_variable('owner', null)) {
if ($ownerid = param_variable('ownerid', null)) {
if ($owner == 'site') {
$owner = 'institution';
$institution = $ownerid = 'mahara';
} else if ($ownerid = param_variable('ownerid', null)) {
if ($owner == 'group') {
$group = (int) $ownerid;
} else if ($owner == 'institution') {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment