mirror of
https://github.com/Terranom674/Piwigo_Bratonien_Tools.git
synced 2026-09-19 14:04:34 +00:00
0.9.6.19 preserve Nextcloud root selection
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user