diff --git a/out/out.DocumentChooser.php b/out/out.DocumentChooser.php index add305a75..4a9161c1a 100644 --- a/out/out.DocumentChooser.php +++ b/out/out.DocumentChooser.php @@ -32,7 +32,7 @@ $folder = $dms->getFolder($folderid); $tmp = explode('.', basename($_SERVER['SCRIPT_FILENAME'])); $view = UI::factory($theme, $tmp[1], array('dms'=>$dms, 'user'=>$user, 'folder'=>$folder, 'form'=>$form)); if($view) { - $view->show(); + $view($_GET); exit; } diff --git a/out/out.ViewFolder.php b/out/out.ViewFolder.php index cd0c2d3b3..f42e6baf0 100644 --- a/out/out.ViewFolder.php +++ b/out/out.ViewFolder.php @@ -65,7 +65,7 @@ if($view) { $view->setParam('enableRecursiveCount', $settings->_enableRecursiveCount); $view->setParam('maxRecursiveCount', $settings->_maxRecursiveCount); $view->setParam('previewWidthList', $settings->_previewWidthList); - $view->show(); + $view($_GET); exit; }