From d76cc6d3d4b9924c0b5df6340e762103881e7b4b Mon Sep 17 00:00:00 2001 From: Uwe Steinmann Date: Fri, 11 Dec 2015 20:20:36 +0100 Subject: [PATCH] invoke $view and pass $_GET --- out/out.DocumentChooser.php | 2 +- out/out.ViewFolder.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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; }