summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/ping.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ping.php b/lib/ping.php
index 2cbec2f21..d7472b920 100644
--- a/lib/ping.php
+++ b/lib/ping.php
@@ -48,7 +48,7 @@ function ping_broadcast_notice($notice) {
'header' =>
"Content-Type: text/xml\r\n".
"User-Agent: Laconica/".LACONICA_VERSION."\r\n",
- 'content' => $request)));
+ 'content' => $req)));
$file = file_get_contents($notify_url, false, $context);
$response = xmlrpc_decode($file);
if (xmlrpc_is_fault($response)) {