From 6b1124c23f1677783588962db1dbd3730a821f09 Mon Sep 17 00:00:00 2001 From: Uwe Steinmann Date: Mon, 6 Jul 2015 16:09:25 +0200 Subject: [PATCH] pass folder object and not id to printDocumentChooser() --- views/bootstrap/class.AddDocument.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/views/bootstrap/class.AddDocument.php b/views/bootstrap/class.AddDocument.php index 97d789256..b33edb532 100644 --- a/views/bootstrap/class.AddDocument.php +++ b/views/bootstrap/class.AddDocument.php @@ -219,7 +219,7 @@ $(document).ready(function() { : - printDocumentChooser("form1", M_READ, -1, null, 'librarydoc', $libraryfolder->getID(), 1);?> + printDocumentChooser("form1", M_READ, -1, null, 'librarydoc', $libraryfolder, 1);?>