Merge remote-tracking branch 'origin/master'

This commit is contained in:
Weblate 2016-12-21 19:01:17 +01:00
commit 830a7b332b
2 changed files with 5 additions and 5 deletions

View File

@ -45,8 +45,8 @@ class ServerVariablesController extends Controller
*/
public function indexAction()
{
$request = Request::getInstance();
if ($request->isAjax()
$response = Response::getInstance();
if ($response->isAjax()
&& isset($_REQUEST['type'])
&& $_REQUEST['type'] === 'getval'
) {
@ -54,7 +54,7 @@ class ServerVariablesController extends Controller
return;
}
if ($request->isAjax()
if ($response->isAjax()
&& isset($_REQUEST['type'])
&& $_REQUEST['type'] === 'setval'
) {

View File

@ -62,8 +62,8 @@ class TableChartController extends TableController
*/
public function indexAction()
{
$request = Request::getInstance();
if ($request->isAjax()
$response = Response::getInstance();
if ($response->isAjax()
&& isset($_REQUEST['pos'])
&& isset($_REQUEST['session_max_rows'])
) {