Indentation fix

pull/642/head
TimZ99 2018-09-07 01:43:06 +02:00
parent 6add2ee4a0
commit 54895863a1
No known key found for this signature in database
GPG Key ID: 4D8268DC68E8339D
1 changed files with 5 additions and 5 deletions

View File

@ -368,15 +368,15 @@ function psm_curl_get($href, $header = false, $body = true, $timeout = null, $ad
curl_setopt($ch, CURLOPT_ENCODING, '');
if (!empty($request_method)) {
curl_setopt($ch, CURLOPT_CUSTOMREQUEST, $request_method);
curl_setopt($ch, CURLOPT_CUSTOMREQUEST, $request_method);
}
if (!empty($post_field)) {
curl_setopt($ch, CURLOPT_POSTFIELDS, $post_field);
}
if (!empty($post_field)) {
curl_setopt($ch, CURLOPT_POSTFIELDS, $post_field);
}
if ($website_username !== false && $website_password !== false && !empty($website_username) && !empty($website_password)) {
curl_setopt($ch, CURLOPT_USERPWD, $website_username.":".$website_password);
curl_setopt($ch, CURLOPT_USERPWD, $website_username.":".$website_password);
}
curl_setopt($ch, CURLOPT_URL, $href);