m3 Security Fixes
This commit is contained in:
@@ -94,16 +94,16 @@ class userPickingStats5 extends Controller
|
||||
// loop for the days difference and passing proper date to v4 to get json encoded response
|
||||
if (isset($request->dates)) {
|
||||
for($x=0;$x<=$days;$x++) {
|
||||
|
||||
|
||||
$next_date = date("Y-m-d",strtotime($starting."+$x days"));
|
||||
|
||||
$parameters = ['dates'=>$next_date, 'user'=>$request->user, 'format'=>'json'];
|
||||
#echo "<pre>"; print_r($parameters); echo "$urlStats4</pre>";
|
||||
|
||||
$response = Http::withBasicAuth($username, $pw)->get($urlStats4, $parameters);
|
||||
#echo $response;
|
||||
#echo $response;
|
||||
$statusCode = $response->status();
|
||||
|
||||
|
||||
#echo "$statusCode json return=".$response->getBody()." <br>";
|
||||
|
||||
$statistic5[$x] = json_decode($response->getBody(),true);
|
||||
|
||||
Reference in New Issue
Block a user