summaryrefslogtreecommitdiff
path: root/controllers/micropub.php
diff options
context:
space:
mode:
authorAaron Parecki <aaron@parecki.com>2017-08-17 09:13:15 -0700
committerAaron Parecki <aaron@parecki.com>2017-08-17 09:13:15 -0700
commitecb0724049e13deeb65d6c3b9510598d8ffb7ff5 (patch)
tree9963f02d8513b2f065aadf49a4516ba001ec3404 /controllers/micropub.php
parent3de5d9345721385b7a8cdc11c82feaeb8ff94f6c (diff)
parent62f6a17c6b3fa666ad29b4564e7cf3455148e8a6 (diff)
Merge branch 'master' of github.com:aaronpk/Quill
Diffstat (limited to 'controllers/micropub.php')
-rw-r--r--controllers/micropub.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/controllers/micropub.php b/controllers/micropub.php
index 871c9cf..a1c3a26 100644
--- a/controllers/micropub.php
+++ b/controllers/micropub.php
@@ -52,7 +52,7 @@ $app->post('/micropub/multipart', function() use($app) {
if(!$error) {
$file_path = $file['tmp_name'];
correct_photo_rotation($file_path);
- $r = micropub_post_for_user($user, $_POST, $file_path);
+ $r = micropub_post_for_user($user, $_POST, $file);
} else {
$r = array('error' => $error);
}