diff options
Diffstat (limited to 'main.php')
-rw-r--r-- | main.php | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -338,7 +338,7 @@ Errors: $postbody = '{ "aPodatki": "'.base64_encode($podatki).'" }'; curl_setopt($ch, CURLOPT_POSTFIELDS, $postbody); $setprofil_output = curl_exec($ch); - if(json_decode($setprofil_output)['d']['success'] == true) { + if(json_decode($setprofil_output, true)['d']['success'] == true) { return true; } else { return false; |