@@ -83,7 +83,8 @@ discard block |
||
83 | 83 | $getProductId = $this->postCurl($url, "api_key_secret=$api_key_secret&api_function=search |
84 | 84 | &search_type=product&search_keyword=$product_sku"); |
85 | 85 | $details = json_decode($getProductId); |
86 | - if ($details->api_error_detected == 0 && is_array($details->page_message)) {//This is not true if Product_sku is updated |
|
86 | + if ($details->api_error_detected == 0 && is_array($details->page_message)) { |
|
87 | +//This is not true if Product_sku is updated |
|
87 | 88 | $productId = $details->page_message[0]->product_id; |
88 | 89 | } |
89 | 90 | |
@@ -130,7 +131,8 @@ discard block |
||
130 | 131 | &search_type=client&search_keyword=$email"); |
131 | 132 | |
132 | 133 | $details = json_decode($getUserId); |
133 | - if ($details->api_error_detected == 0 && is_array($details->page_message)) {//This is not true if email is updated |
|
134 | + if ($details->api_error_detected == 0 && is_array($details->page_message)) { |
|
135 | +//This is not true if email is updated |
|
134 | 136 | $userId = $details->page_message[0]->client_id; |
135 | 137 | } |
136 | 138 | |
@@ -246,7 +248,7 @@ discard block |
||
246 | 248 | return $getInstallId; |
247 | 249 | } |
248 | 250 | |
249 | - public function searchInstallationPath($licenseCode, $productId) |
|
251 | + public function searchInstallationPath($licenseCode, $productId) |
|
250 | 252 | { |
251 | 253 | $installation_domain = array(); |
252 | 254 | $installation_ip = array(); |