Преглед изворни кода

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);