** Changed in: mahara
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Mahara
Reviewers, 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:
  Fix Released

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

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/725481/+subscriptions

_______________________________________________
Mailing list: https://launchpad.net/~mahara-core
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~mahara-core
More help   : https://help.launchpad.net/ListHelp

Reply via email to