From 8ebf5e6865e81816a3e2e907c367a345c6c8f18f Mon Sep 17 00:00:00 2001 From: Markus Birth Date: Mon, 14 Feb 2022 02:48:15 +0100 Subject: [PATCH] Spacing. --- include/functions.inc.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/functions.inc.php b/include/functions.inc.php index b4392660..62436ce9 100644 --- a/include/functions.inc.php +++ b/include/functions.inc.php @@ -1149,9 +1149,9 @@ function serendipity_request_url($uri, $method = 'GET', $contenttype = null, $da require_once S9Y_PEAR_PATH . 'HTTP/Request2.php'; $options = array('follow_redirects' => true, 'max_redirects' => 5); - + if (is_array($extra_options)) { - foreach($extra_options AS $okey => $oval) { + foreach ($extra_options as $okey => $oval) { $options[$okey] = $oval; } } @@ -1162,7 +1162,7 @@ function serendipity_request_url($uri, $method = 'GET', $contenttype = null, $da $options['ssl_verify_peer'] = false; } - switch(strtoupper($method)) { + switch (strtoupper($method)) { case 'GET': $http_method = HTTP_Request2::METHOD_GET; break;