Fix rootid warning
parent
bd89c9d355
commit
cd3fb4b897
|
@ -270,7 +270,7 @@ trait TimelineQueryDays
|
||||||
|
|
||||||
// Check if path exists and starts with basePath and remove
|
// Check if path exists and starts with basePath and remove
|
||||||
if (isset($row['path']) && !empty($row['path'])) {
|
if (isset($row['path']) && !empty($row['path'])) {
|
||||||
$rootId = $row['rootid'] ?: $defaultRootId;
|
$rootId = \array_key_exists('rootid', $row) ? $row['rootid'] : $defaultRootId;
|
||||||
$basePath = $internalPaths[$rootId] ?? '#__#';
|
$basePath = $internalPaths[$rootId] ?? '#__#';
|
||||||
$davPath = $davPaths[$rootId] ?: '';
|
$davPath = $davPaths[$rootId] ?: '';
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue