sith Posted August 13, 2019 Share Posted August 13, 2019 Nothing is returned. Any suggestions on how to solve this? WHMCS version: 7.7.1 $command = 'GetProducts'; $postData = array( 'gid' => '16', ); logActivity( localAPI($command, $postData), 0); Returns empty string. I have tried different parameters. But it shouldn't matter. I should at least get a JSON stating that the call failed, right? Other calls like `GetClientsDetails` work. Regards 0 Quote Link to comment Share on other sites More sharing options...
sith Posted August 13, 2019 Author Share Posted August 13, 2019 Ok, my fault. I had to use json_encode to be able to print the output with logActivity. 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.