aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app/Services/ImportService.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Services/ImportService.php b/app/Services/ImportService.php
index 4555969ef..2c23e5d4f 100644
--- a/app/Services/ImportService.php
+++ b/app/Services/ImportService.php
@@ -284,7 +284,7 @@ class FreshRSS_Import_Service {
$curl_params[CURLOPT_PROXY] = $feed_elt['frss:CURLOPT_PROXY'];
}
if (isset($feed_elt['frss:CURLOPT_PROXYTYPE'])) {
- $curl_params[CURLOPT_PROXYTYPE] = $feed_elt['frss:CURLOPT_PROXYTYPE'];
+ $curl_params[CURLOPT_PROXYTYPE] = (int)$feed_elt['frss:CURLOPT_PROXYTYPE'];
}
if (isset($feed_elt['frss:CURLOPT_USERAGENT'])) {
$curl_params[CURLOPT_USERAGENT] = $feed_elt['frss:CURLOPT_USERAGENT'];