summaryrefslogtreecommitdiff
path: root/actions/remotesubscribe.php
diff options
context:
space:
mode:
authorAdrian Lang <mail@adrianlang.de>2009-02-21 19:43:18 +0100
committerEvan Prodromou <evan@controlyourself.ca>2009-02-27 15:39:28 -0800
commit616fd16bc528ce78d7fc1fa8a6ad5a67f10ae5eb (patch)
treeeae4155224c7f2479c3424cd759c638b2545660e /actions/remotesubscribe.php
parent89197210cf706683c8ab22deedc43724fa1fe235 (diff)
Auth_Yadis_Yadis::PlainHTTPFetcher expects plain arrays, not hashes.
Diffstat (limited to 'actions/remotesubscribe.php')
-rw-r--r--actions/remotesubscribe.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/actions/remotesubscribe.php b/actions/remotesubscribe.php
index f727a63b8..7ea7acd6d 100644
--- a/actions/remotesubscribe.php
+++ b/actions/remotesubscribe.php
@@ -321,8 +321,7 @@ class RemotesubscribeAction extends Action
$result = $fetcher->post($req->get_normalized_http_url(),
$req->to_postdata(),
- array('User-Agent' => 'Laconica/' . LACONICA_VERSION));
-
+ array('User-Agent: Laconica/' . LACONICA_VERSION));
if ($result->status != 200) {
return null;
}