0.9.6.19 preserve Nextcloud root selection

This commit is contained in:
Terranom674
2026-08-19 16:02:02 +02:00
parent 3f5f8dc4b4
commit 88c787c956

View File

@@ -112,7 +112,7 @@ function bratonien_tools_nc_connector_prepare_webdav_wizard_from_connection(arra
{ {
$path = trim((string)($root['webdav_path'] ?? ''), '/'); $path = trim((string)($root['webdav_path'] ?? ''), '/');
$fileid = (int)($root['fileid'] ?? 0); $fileid = (int)($root['fileid'] ?? 0);
if ($path === '' || $fileid < 1) continue; if ($fileid < 1) continue;
$selected[] = $path; $selected[] = $path;
$selected_ids[$path] = $fileid; $selected_ids[$path] = $fileid;
} }