|
|
|
|
@ -850,11 +850,14 @@ if ($is_certificate_mode) { |
|
|
|
|
// Interbreadcrumb for the current directory root path |
|
|
|
|
if (empty($document_data['parents'])) { |
|
|
|
|
if (isset($_GET['createdir'])) { |
|
|
|
|
if ($document_data) { |
|
|
|
|
$interbreadcrumb[] = [ |
|
|
|
|
'url' => $document_data['document_url'], |
|
|
|
|
'name' => $document_data['title'], |
|
|
|
|
]; |
|
|
|
|
} |
|
|
|
|
} else { |
|
|
|
|
if ($document_data) { |
|
|
|
|
// Hack in order to not add the document to the breadcrumb in case it is a link |
|
|
|
|
if ($document_data['filetype'] != 'link') { |
|
|
|
|
$interbreadcrumb[] = [ |
|
|
|
|
@ -863,6 +866,7 @@ if (empty($document_data['parents'])) { |
|
|
|
|
]; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} else { |
|
|
|
|
$counter = 0; |
|
|
|
|
foreach ($document_data['parents'] as $document_sub_data) { |
|
|
|
|
|