From df6a2e79bcc5d5855e2e5b7aa097b7840e0504bf Mon Sep 17 00:00:00 2001 From: Uwe Steinmann Date: Fri, 24 Feb 2023 14:20:33 +0100 Subject: [PATCH] adjust call of getDocumentChooserHtml() for 6.0.x --- views/bootstrap/class.Settings.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/views/bootstrap/class.Settings.php b/views/bootstrap/class.Settings.php index 42ead127f..0e9a39cc7 100644 --- a/views/bootstrap/class.Settings.php +++ b/views/bootstrap/class.Settings.php @@ -705,7 +705,7 @@ if(($kkk = $this->callHook('getFullSearchEngine')) && is_array($kkk)) $this->formField(null, $this->getFolderChooserHtml("form".$extname.$confkey, M_READ, -1, $selections ? $dms->getFolder($selections[0]) : 0, 'extensions['.$extname."][".$confkey."]")); break; case "documents": - $this->formField(null, $this->getDocumentChooserHtml("form".$extname.$confkey, $selections ? $dms->getDocument($selections[0]) : 0, 'extensions['.$extname."][".$confkey."]")); + $this->formField(null, $this->getDocumentChooserHtml("form".$extname.$confkey, M_READ, -1, $selections ? $dms->getDocument($selections[0]) : 0, 'extensions['.$extname."][".$confkey."]")); break; } }