Public bug reported: Hi,
there is a missing param in /artefact/file/form/elements/filebrowser.php function pieform_element_filebrowser_get_path($folder) { $path = array(); if ($folder) { $folders = ArtefactTypeFileBase::artefactchooser_folder_data(artefact_instance_from_id($folder))->data; $f = $folder; while ($f) { $path[] = (object) array('title' => $folders[$f]->title, 'id' => $f); $f = $folders[$f]->parent; } } $path[] = (object) array('title' => get_string('home'), 'id' => 0); return $path; } needs a get_string('home') , 'artefact.file') to use the "home" var in artefact.file.php $string['home'] = 'Stammverzeichnis'; Cheers Heinz ** Affects: mahara Importance: Undecided Status: New -- You received this bug notification because you are a member of Mahara Contributors, which is subscribed to Mahara. https://bugs.launchpad.net/bugs/725481 Title: missing param in /artefact/file/form/elements/filebrowser.php Status in Mahara ePortfolio: New Bug description: Hi, there is a missing param in /artefact/file/form/elements/filebrowser.php function pieform_element_filebrowser_get_path($folder) { $path = array(); if ($folder) { $folders = ArtefactTypeFileBase::artefactchooser_folder_data(artefact_instance_from_id($folder))->data; $f = $folder; while ($f) { $path[] = (object) array('title' => $folders[$f]->title, 'id' => $f); $f = $folders[$f]->parent; } } $path[] = (object) array('title' => get_string('home'), 'id' => 0); return $path; } needs a get_string('home') , 'artefact.file') to use the "home" var in artefact.file.php $string['home'] = 'Stammverzeichnis'; Cheers Heinz _______________________________________________ Mailing list: https://launchpad.net/~mahara-contributors Post to : mahara-contributors@lists.launchpad.net Unsubscribe : https://launchpad.net/~mahara-contributors More help : https://help.launchpad.net/ListHelp