@@ -105,10 +105,10 @@ |
||
105 | 105 | if ($pluginConfig['insecure']) { |
106 | 106 | $opts[CURLOPT_SSL_VERIFYPEER] = false; |
107 | 107 | } |
108 | - if (! empty($pluginConfig['userAgent'])) { |
|
108 | + if (!empty($pluginConfig['userAgent'])) { |
|
109 | 109 | $opts[CURLOPT_USERAGENT] = $pluginConfig['userAgent']; |
110 | 110 | } |
111 | - if (! empty($pluginConfig['capath'])) { |
|
111 | + if (!empty($pluginConfig['capath'])) { |
|
112 | 112 | $opts[CURLOPT_CAPATH] = $pluginConfig['capath']; |
113 | 113 | } |
114 | 114 | unset($opts[CURLOPT_ENCODING]); |