浏览代码

fixed json input in fetchFromBazaAjax

fixed json input in
Piotr Labudda 7 年之前
父节点
当前提交
0f2ac7fefe
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      tools/Bocian.php

+ 1 - 1
tools/Bocian.php

@@ -919,7 +919,7 @@ public function showPowiazaniaEnergaRumKontrahenciPowiazania($items) {
 
 
 	public function fetchFromBazaAjaxAction() {
-		Response::sendTryCatchJson(array($this, 'fetchFromBazaAjax'), $args = $_REQUEST);
+		Response::sendTryCatchJson(array($this, 'fetchFromBazaAjax'), $args = 'JSON_FROM_REQUEST_BODY');
 	}
 	public function fetchFromBazaAjax($args) {
 		$baza= V::get('baza', 1, $args);