From 75a8a52028a0510af910f80f467b3809802fba02 Mon Sep 17 00:00:00 2001 From: Uwe Steinmann Date: Fri, 21 Jun 2024 11:55:57 +0200 Subject: [PATCH] there is no preselected link type --- views/bootstrap/class.ViewDocument.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/views/bootstrap/class.ViewDocument.php b/views/bootstrap/class.ViewDocument.php index c5df0f1a3..de6a6f543 100644 --- a/views/bootstrap/class.ViewDocument.php +++ b/views/bootstrap/class.ViewDocument.php @@ -2023,7 +2023,7 @@ $(document).ready( function() { getLinkTypes() as $linktype) { - $options[] = array($linktype->getID(), htmlspecialchars($linktype->getName()), $sellinktype && $linktype->getID()==$sellinktype->getID(), array(/*array('data-subtitle', $linktype->countDocumentLinksByType().' '.getMLText('documents'))*/)); + $options[] = array($linktype->getID(), htmlspecialchars($linktype->getName()), false, array(/*array('data-subtitle', $linktype->countDocumentLinksByType().' '.getMLText('documents'))*/)); } $this->formField( getMLText("global_link_types"),