diff options
author | Anton Luka Šijanec <sijanecantonluka@gmail.com> | 2020-01-27 16:52:31 +0100 |
---|---|---|
committer | Anton Luka Šijanec <sijanecantonluka@gmail.com> | 2020-01-27 16:52:31 +0100 |
commit | 3acf37b497f9ef2499decaa3c1339a88f2ff7d78 (patch) | |
tree | dec050dd2347e19cc3f87911170a8e36cd3eccdf /main.php | |
parent | null (diff) | |
download | gimsisextclient-3acf37b497f9ef2499decaa3c1339a88f2ff7d78.tar gimsisextclient-3acf37b497f9ef2499decaa3c1339a88f2ff7d78.tar.gz gimsisextclient-3acf37b497f9ef2499decaa3c1339a88f2ff7d78.tar.bz2 gimsisextclient-3acf37b497f9ef2499decaa3c1339a88f2ff7d78.tar.lz gimsisextclient-3acf37b497f9ef2499decaa3c1339a88f2ff7d78.tar.xz gimsisextclient-3acf37b497f9ef2499decaa3c1339a88f2ff7d78.tar.zst gimsisextclient-3acf37b497f9ef2499decaa3c1339a88f2ff7d78.zip |
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; |