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);?>