use $_REQUEST instead of $_GET when getting currenttab

This commit is contained in:
Uwe Steinmann 2015-04-22 17:22:30 +02:00
parent 4f3c6ed090
commit 87b3c37cb0

View File

@ -33,7 +33,7 @@ if(!trim($settings->_encryptionKey))
$settings->_encryptionKey = md5(uniqid());
$tmp = explode('.', basename($_SERVER['SCRIPT_FILENAME']));
$view = UI::factory($theme, $tmp[1], array('dms'=>$dms, 'user'=>$user, 'settings'=>$settings, 'currenttab'=>(isset($_GET['currenttab']) ? $_GET['currenttab'] : '')));
$view = UI::factory($theme, $tmp[1], array('dms'=>$dms, 'user'=>$user, 'settings'=>$settings, 'currenttab'=>(isset($_REQUEST['currenttab']) ? $_REQUEST['currenttab'] : '')));
if($view) {
$view->show();
exit;