]> git.mxchange.org Git - friendica.git/commitdiff
Missing $
authorMichael <heluecht@pirati.ca>
Wed, 12 Sep 2018 21:33:44 +0000 (21:33 +0000)
committerMichael <heluecht@pirati.ca>
Wed, 12 Sep 2018 21:33:44 +0000 (21:33 +0000)
src/Module/Inbox.php

index 63de5de12dd35143cf5dbe42b977407b0bdbcb63..bb0d9ef0404d40bf3735314053465fb8bc0ee5d2 100644 (file)
@@ -29,7 +29,7 @@ class Inbox extends BaseModule
                        $filename = 'failed-activitypub';
                }
 
-               $tempfile = tempnam(get_temppath(), filename);
+               $tempfile = tempnam(get_temppath(), $filename);
                file_put_contents($tempfile, json_encode(['header' => $_SERVER, 'body' => $postdata]));
 
                System::httpExit(200);