Skip to content
Permalink
Browse files
Update objects.class.php
callapi function fix
  • Loading branch information
sergejey committed Feb 14, 2020
1 parent 39b02fc commit 16c521ff45af67e2cd10ecedbc4fa8d1f85dcbac
Showing 1 changed file with 1 addition and 1 deletion.
@@ -1025,7 +1025,7 @@ function callAPI($api_url, $method = 'GET', $params = 0)


$url = preg_replace('/^\/api\//', BASE_URL.'/api.php/', $api_url);
$url = str_replace('//','/',$url);
$url = preg_replace('/([^:])\/\//','\1/',$url);

$method=strtoupper($method);
global $api_ch;

0 comments on commit 16c521f

Please sign in to comment.