When creating more than one filesystem you only have the first one appearing in /admin/user/permissions

> I've found the problem which is in the webdav_filesystem.module in the webdav_filesystem_perm() function :

function webdav_filesystem_perm() {
$filesystems = webdav_filesystem_load_all();
foreach ($filesystems as $filesystem) {
return array(webdav_filesystem_permission($filesystem->name));
}
}

Which i've changed in :

function webdav_filesystem_perm() {
$filesystems = webdav_filesystem_load_all();
$items = array();
foreach ($filesystems as $filesystem) {
$items[] = webdav_filesystem_permission($filesystem->name);
}
return $items;
}

Then it works...

Comments

kacy’s picture

Has anybody integrated this correction to the last version of the module ?

mably’s picture

Issue summary: View changes
Status: Active » Closed (outdated)

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.